* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / vect_int32x2x4_1.c
blob734cfd61bdaa625fe370d885c1cf258e39c87713
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-rtl-expand" } */
4 #include <arm_neon.h>
6 uint32x2x4_t
7 test_1 (uint32x2x4_t a, uint32x2x4_t b)
9 uint32x2x4_t result;
11 for (unsigned index = 0; index < 4; ++index)
12 result.val[index] = a.val[index] + b.val[index];
14 return result;
17 /* Should not use the stack in expand. */
18 /* { dg-final { scan-rtl-dump-not "virtual-stack-vars" "expand" } } */
19 /* Should not have to modify the stack pointer. */
20 /* { dg-final { scan-assembler-not "\t(add|sub).*sp" } } */
21 /* Should not have to store or load anything. */
22 /* { dg-final { scan-assembler-not "\t(ld|st)\[rp\]" } } */