Debian Codegraph @

gcc/testsuite/gcc.target/i386/cbranchbf4.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fexcess-precision=16 -O -msse2 -mfpmath=sse" } */
3 /* { dg-final { scan-assembler-times "pslld" 4 } } */
4
5 char
6 foo (__bf16 a, __bf16 b)
7 {
8 return a > b;
9 }
10
11 float
12 foo1 (__bf16 a, __bf16 b, float c, float d)
13 {
14 return a > b ? c : d;
15 }