1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* { dg-final { scan-assembler-not "\tf?mov\t" } } */
6 typedef long long int64_t;
7 typedef int64_t int64x1_t
__attribute__ ((__vector_size__ (8)));
9 /* { dg-final { scan-assembler-times "\\teon\\tx\[0-9\]+, x\[0-9\]+, x\[0-9\]+" 1 } } */
12 test_eon (int64_t a
, int64_t b
)
17 /* { dg-final { scan-assembler-times "\\tmvn\\tx\[0-9\]+, x\[0-9\]+" 1 } } */
24 /* There is no eon for SIMD regs; we prefer eor+mvn to mov+mov+eon+mov. */
26 /* { dg-final { scan-assembler-times "\\teor\\tv\[0-9\]+\.8b, v\[0-9\]+\.8b, v\[0-9\]+\.8b" 1 } } */
27 /* { dg-final { scan-assembler-times "\\tmvn\\tv\[0-9\]+\.8b, v\[0-9\]+\.8b" 2 } } */
29 test_vec_eon (int64x1_t a
, int64x1_t b
)
35 test_vec_not (int64x1_t a
)