[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / csinc-2.c
blob9bd6861d2e101587f6b89d88ded23415e2850be5
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int
5 foo (int a, int b)
7 return (a < b) ? 1 : 7;
8 /* { dg-final { scan-assembler "csinc\tw\[0-9\].*wzr" } } */
11 typedef long long s64;
13 s64
14 foo2 (s64 a, s64 b)
16 return (a == b) ? 7 : 1;
17 /* { dg-final { scan-assembler "csinc\tx\[0-9\].*xzr" } } */