aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/cbranchbf4.c
blob: 8241a0c216557467931ec131970ba234b8bfa048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-fexcess-precision=16 -O -msse2 -mfpmath=sse" } */
/* { dg-final { scan-assembler-times "pslld" 4 } } */

char
foo (__bf16 a, __bf16 b)
{
  return a > b;
}

float
foo1 (__bf16 a, __bf16 b, float c, float d)
{
  return a > b ? c : d;
}