diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-05-12 11:04:54 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-14 15:12:40 +0100 |
commit | 9f8d002499e06f60878f803cb6ad70f1220a3ce4 (patch) | |
tree | bcfc6d59bac36ee66620fc83c5112589a98733ee | |
parent | 368b42f6dd64521b9282ddefa9e267eca621271c (diff) | |
download | qemu-9f8d002499e06f60878f803cb6ad70f1220a3ce4.zip qemu-9f8d002499e06f60878f803cb6ad70f1220a3ce4.tar.gz qemu-9f8d002499e06f60878f803cb6ad70f1220a3ce4.tar.bz2 |
target/arm/tcg/crypto_helper: compile file once
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-id: 20250512180502.2395029-41-pierrick.bouvier@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target/arm/tcg/crypto_helper.c | 6 | ||||
-rw-r--r-- | target/arm/tcg/meson.build | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/target/arm/tcg/crypto_helper.c b/target/arm/tcg/crypto_helper.c index 7cadd61..3428bd1 100644 --- a/target/arm/tcg/crypto_helper.c +++ b/target/arm/tcg/crypto_helper.c @@ -10,14 +10,16 @@ */ #include "qemu/osdep.h" +#include "qemu/bitops.h" -#include "cpu.h" -#include "exec/helper-proto.h" #include "tcg/tcg-gvec-desc.h" #include "crypto/aes-round.h" #include "crypto/sm4.h" #include "vec_internal.h" +#define HELPER_H "tcg/helper.h" +#include "exec/helper-proto.h.inc" + union CRYPTO_STATE { uint8_t bytes[16]; uint32_t words[4]; diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index dd12cce..2f73eef 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -30,7 +30,6 @@ arm_ss.add(files( 'translate-mve.c', 'translate-neon.c', 'translate-vfp.c', - 'crypto_helper.c', 'hflags.c', 'iwmmxt_helper.c', 'm_helper.c', @@ -63,3 +62,7 @@ arm_system_ss.add(files( arm_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c')) arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c')) + +arm_common_ss.add(files( + 'crypto_helper.c', +)) |