[PR81647][AARCH64] Fix handling of Unordered Comparisons in aarch64-simd.md
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / neg_abs_1.c
blobcb2a387088cc5874cd5e95f0c3ea6750537db9c1
1 /* { dg-do compile } */
2 /* { dg-options "-save-temps -O2" } */
4 int
5 f1 (int x)
7 return x < 0 ? x : -x;
10 long long
11 f2 (long long x)
13 return x < 0 ? x : -x;
16 /* { dg-final { scan-assembler-not "\tneg\tw\[0-9\]*.*" } } */
17 /* { dg-final { scan-assembler-not "\tneg\tx\[0-9\]*.*" } } */