diagnostics: move output formats from diagnostic.{c,h} to their own files
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / signbit-2.c
bloba6d83458f9d24e4a2f5863e6414f5c8a05fbb549
1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -mfloat128" } */
3 /* { dg-require-effective-target powerpc_vsx } */
4 /* { dg-require-effective-target ppc_float128_sw } */
6 int do_signbit_kf (__float128 *a) { return __builtin_signbit (*a); }
8 /* { dg-final { scan-assembler-not "stxvd2x" } } */
9 /* { dg-final { scan-assembler-not "stxvw4x" } } */
10 /* { dg-final { scan-assembler-not "stxsd" } } */
11 /* { dg-final { scan-assembler-not "stxsdx" } } */
12 /* { dg-final { scan-assembler-not "lxvd2x" } } */
13 /* { dg-final { scan-assembler-not "lxvw4x" } } */
14 /* { dg-final { scan-assembler-not "lxsd" } } */
15 /* { dg-final { scan-assembler-not "lxsdx" } } */
16 /* { dg-final { scan-assembler-times "ld" 1 { target lp64 } } } */
17 /* { dg-final { scan-assembler-times "srdi" 1 { target lp64 } } } */
18 /* { dg-final { scan-assembler-times "lwz" 1 { target ilp32 } } } */
19 /* { dg-final { scan-assembler-times "rlwinm" 1 { target ilp32 } } } */