[PR81647][AARCH64] Fix handling of Unordered Comparisons in aarch64-simd.md
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / cmp-2.c
blob12016647061987030d4a3237052890e8d4b0bdac
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int lt (int x, int y)
6 if ((x - y) < 0)
7 return 10;
9 return 0;
12 int ge (int x, int y)
14 if ((x - y) >= 0)
15 return 10;
17 return 0;
20 /* { dg-final { scan-assembler-times "csel\t" 2 } } */
21 /* { dg-final { scan-assembler-not "sub\t" } } */