]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Add key parameter to add_cpreg_to_hashtable
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 16 Sep 2025 14:22:25 +0000 (07:22 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Sep 2025 14:42:34 +0000 (15:42 +0100)
commit2696aa34ec592eb06578f49ad70e70b878483070
treeb459f8c7a6bd686ec86e5d9f4209354d30b632f3
parent89f942f29dfa0da08928c8097da2433257a14813
target/arm: Add key parameter to add_cpreg_to_hashtable

Hoist the computation of key into the caller, where
state is a known constant.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[PMM: added comment about CRN key field increment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c