1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
5 test_csneg32_condasn1(int w0,
11 /* { dg-final { scan-assembler "csneg\tw\[0-9\]*.*ne" } } */
12 w4 = (w0 == w1) ? -w3 : w2;
17 test_csneg32_condasn2(int w0,
23 /* { dg-final { scan-assembler "csneg\tw\[0-9\]*.*eq" } } */
24 w4 = (w0 == w1) ? w3 : -w2;
29 test_csneg64_condasn1(long long x0,
35 /* { dg-final { scan-assembler "csneg\tx\[0-9\]*.*ne" } } */
36 x4 = (x0 == x1) ? -x3 : x2;
41 test_csneg64_condasn2(long long x0,
47 /* { dg-final { scan-assembler "csneg\tx\[0-9\]*.*eq" } } */
48 x4 = (x0 == x1) ? x3 : -x2;