diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-06-02 07:43:40 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-08 07:30:17 +0100 |
commit | 8d97f28e368be8b6248a363792a2cd0f9e9ddf6a (patch) | |
tree | 4430caee5669979f43c0222ffd74014d2400f3a6 /meson.build | |
parent | d6a2443696c5b34fb20879e899bf823d6168b068 (diff) | |
download | qemu-8d97f28e368be8b6248a363792a2cd0f9e9ddf6a.zip qemu-8d97f28e368be8b6248a363792a2cd0f9e9ddf6a.tar.gz qemu-8d97f28e368be8b6248a363792a2cd0f9e9ddf6a.tar.bz2 |
host/include/aarch64: Implement aes-round.h
Detect AES in cpuinfo; implement the accel hooks.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build index c77faa0..58413d4 100644 --- a/meson.build +++ b/meson.build @@ -2665,6 +2665,15 @@ config_host_data.set('CONFIG_AVX512BW_OPT', get_option('avx512bw') \ int main(int argc, char *argv[]) { return bar(argv[0]); } '''), error_message: 'AVX512BW not available').allowed()) +# For both AArch64 and AArch32, detect if builtins are available. +config_host_data.set('CONFIG_ARM_AES_BUILTIN', cc.compiles(''' + #include <arm_neon.h> + #ifndef __ARM_FEATURE_AES + __attribute__((target("+crypto"))) + #endif + void foo(uint8x16_t *p) { *p = vaesmcq_u8(*p); } + ''')) + have_pvrdma = get_option('pvrdma') \ .require(rdma.found(), error_message: 'PVRDMA requires OpenFabrics libraries') \ .require(cc.compiles(gnu_source_prefix + ''' |