| 1 |
/* { dg-do run { target *-*-linux* *-*-gnu* } } */ |
| 2 |
/* { dg-require-effective-target ia32 } */ |
| 3 |
/* { dg-require-effective-target sse2 } */ |
| 4 |
/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -msse2 -mpush-args -mno-accumulate-outgoing-args" } */ |
| 5 |
|
| 6 |
#include "sse2-check.h" |
| 7 |
|
| 8 |
void __attribute__((noinline)) |
| 9 |
f (__float128 a) |
| 10 |
{ |
| 11 |
if (a != 1.23Q) |
| 12 |
abort (); |
| 13 |
} |
| 14 |
|
| 15 |
int __attribute__((noinline)) |
| 16 |
g (__float128 b) |
| 17 |
{ |
| 18 |
f (b); |
| 19 |
return 0; |
| 20 |
} |
| 21 |
|
| 22 |
static void |
| 23 |
sse2_test (void) |
| 24 |
{ |
| 25 |
g (1.23Q); |
| 26 |
} |