blob: 90f3561049956537b33de08f164f4219b0d5601b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* PR target/117495 */
/* { dg-do compile } */
/* { dg-options "-march=x86-64-v3 -fno-trapping-math" } */
/* { dg-final { scan-assembler-times "vcomisbf16" 2 } } */
__attribute__((target("avx10.2")))
int foo (int b, int x)
{
return (__bf16) b < x;
}
int foo2 (int b, int x)
{
return (__bf16) b < x;
}
__attribute__((target("avx10.2")))
int foo3 (__bf16 b, __bf16 x)
{
return (__bf16) b < x;
}
int foo4 (__bf16 b, __bf16 x)
{
return (__bf16) b < x;
}
|