diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-12-03 19:31:12 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-01-16 10:14:12 -1000 |
commit | 701ea5870d3752173d0c78d79d9d1f57757a8036 (patch) | |
tree | f35668299954e5fdb0a056f56cdc8dd0ff152538 /tests/avocado/acpi-bits/bits-tests/smbios.py2 | |
parent | 5584e2dbe8c9c95ceb178786fb88e5edf625e1b6 (diff) |
util/bufferiszero: Use __attribute__((target)) for avx2/avx512
Use the attribute, which is supported by clang, instead of
the #pragma, which is not supported and, for some reason,
also not detected by the meson probe, so we fail by -Werror.
Include only <immintrin.h> as that is the outermost "official"
header for these intrinsics -- emmintrin.h and smmintrin -- are
older SSE2 and SSE4 specific headers, while the immintrin.h
includes all of the Intel intrinsics.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/avocado/acpi-bits/bits-tests/smbios.py2')
0 files changed, 0 insertions, 0 deletions