Debian Codegraph @

gcc/testsuite/gcc.target/i386/builtin-copysign-3.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 ** orps .LC[0-9]+\(%rip\), %xmm0
11 ** ret
12 **...
13 */
14
15 float
16 foo (float x)
17 {
18 return __builtin_copysignf (x, -3.0);
19 }
20
21 /* { dg-final { scan-assembler-times ".long 0" 3 { target { ! ia32 } } } } */
22 /* { dg-final { scan-assembler-times ".long -2147483648" 1 { target { ! ia32 } } } } */