diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-08-28 16:41:08 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-08-28 16:41:08 +0100 |
commit | 035c196cb9be2f1aee142240d506dde474cbe64e (patch) | |
tree | cd926b30eecf4cf547bcbb9234a2c83c01e08241 /gcc/dwarf2codeview.h | |
parent | 3c9338b532fd609f5cc1c50d6a4e77e0e1ab3bc5 (diff) | |
download | gcc-035c196cb9be2f1aee142240d506dde474cbe64e.zip gcc-035c196cb9be2f1aee142240d506dde474cbe64e.tar.gz gcc-035c196cb9be2f1aee142240d506dde474cbe64e.tar.bz2 |
aarch64: Add a test for zeroing <64bits>x2_t structures
g:8d6c6fbc5271dde433998c09407b30e2cf195420 improved the code
generated for functions like:
void test_s8 (int8x8x2_t *ptr) { *ptr = (int8x8x2_t) {}; }
Previously we would load zero from the constant pool, whereas
now we just use "stp xzr, xzr". This patch adds a test for
this improvement.
gcc/testsuite/
* gcc.target/aarch64/struct_zero.c: New test.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions