gcc/testsuite/gcc.target/i386/builtin-copysign-7.c
raw| 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 | ** por .LC[0-9]+\(%rip\), %xmm0 |
| 12 | ** ret |
| 13 | **... |
| 14 | */ |
| 15 | |
| 16 | __float128 |
| 17 | foo (__float128 x) |
| 18 | { |
| 19 | return __builtin_copysignq (3.4, x); |
| 20 | } |