| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -mno-avx -msse2" } */ |
| 3 |
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ |
| 4 |
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } } {^\t?\.} } } */ |
| 5 |
|
| 6 |
/* |
| 7 |
**foo: |
| 8 |
**.LFB[0-9]+: |
| 9 |
** .cfi_startproc |
| 10 |
** pand .LC[0-9]+\(%rip\), %xmm0 |
| 11 |
** ret |
| 12 |
**... |
| 13 |
*/ |
| 14 |
|
| 15 |
__float128 |
| 16 |
foo (__float128 x) |
| 17 |
{ |
| 18 |
return __builtin_copysignq (0.0, x); |
| 19 |
} |
| 20 |
|
| 21 |
/* { dg-final { scan-assembler-times ".long 0" 3 { target { ! ia32 } } } } */ |
| 22 |
/* { dg-final { scan-assembler-times ".long -2147483648" 1 { target { ! ia32 } } } } */ |