gcc/testsuite/gcc.target/powerpc/pr97786-8.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target ppc_float128_hw } */ |
| 3 | /* { dg-options "-O2 -mdejagnu-cpu=power9 -mabi=ieeelongdouble -Wno-psabi" } */ |
| 4 | /* { dg-require-effective-target powerpc_vsx } */ |
| 5 | |
| 6 | int test1 (long double x) |
| 7 | { |
| 8 | return __builtin_isnormal (x); |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler-not {\mxscmpuqp\M} } } */ |
| 12 | /* { dg-final { scan-assembler {\mxststdcqp\M} } } */ |