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