Lines Matching refs:bfloat
4 ; Basic smoke tests for bfloat type.
6 define bfloat @check_bfloat(bfloat %A) {
7 ; ASSEM-DISASS: ret bfloat %A
8 ret bfloat %A
11 define bfloat @check_bfloat_literal() {
12 ; ASSEM-DISASS: ret bfloat 0xR3149
13 ret bfloat 0xR3149
16 define <4 x bfloat> @check_fixed_vector() {
17 ; ASSEM-DISASS: ret <4 x bfloat> %tmp
18 %tmp = fadd <4 x bfloat> undef, undef
19 ret <4 x bfloat> %tmp
22 define <vscale x 4 x bfloat> @check_vector() {
23 ; ASSEM-DISASS: ret <vscale x 4 x bfloat> %tmp
24 %tmp = fadd <vscale x 4 x bfloat> undef, undef
25 ret <vscale x 4 x bfloat> %tmp
28 define bfloat @check_bfloat_constprop() {
29 %tmp = fadd bfloat 0xR40C0, 0xR40C0
31 ret bfloat %tmp
35 %tmp = fpext bfloat 0xR4C8D to float
41 define bfloat @snan_bfloat() {
42 ; ASSEM-DISASS: ret bfloat 0xR7F81
43 ret bfloat 0xR7F81
47 define bfloat @qnan_bfloat() {
48 ; ASSEM-DISASS: ret bfloat 0xR7FC0
49 ret bfloat 0xR7FC0
53 define bfloat @pos_inf_bfloat() {
54 ; ASSEM-DISASS: ret bfloat 0xR7F80
55 ret bfloat 0xR7F80
59 define bfloat @neg_inf_bfloat() {
60 ; ASSEM-DISASS: ret bfloat 0xRFF80
61 ret bfloat 0xRFF80