• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not llc < %s -mtriple i386-unknown-linux-gnu -mattr +avx512vl -o /dev/null 2> %t
2; RUN: FileCheck %s --input-file %t
3
4define <4 x float> @testxmm_1(<4 x float> %_xmm0, i64 %_l) {
5; CHECK: error: inline assembly requires more registers than available
6entry:
7  %0 = tail call <4 x float> asm "vmovhlps $1, $2, $0", "=v,v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(i64 %_l, <4 x float> %_xmm0)
8  ret <4 x float> %0
9}
10
11
12define <4 x float> @testxmm_2(<4 x float> %_xmm0, i64 %_l) {
13; CHECK: error: inline assembly requires more registers than available
14entry:
15  %0 = tail call <4 x float> asm "vmovapd $1, $0", "=v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(i64 %_l)
16  ret <4 x float> %0
17}
18
19
20define <4 x float> @testxmm_3(<4 x float> %_xmm0, i64 %_l) {
21; CHECK: error: inline assembly requires more registers than available
22entry:
23  %0 = tail call <4 x float> asm "vminpd $1, $2, $0", "=v,v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(i64 %_l, i64 %_l)
24  ret <4 x float> %0
25}
26
27
28define i64 @testxmm_4(<4 x float> %_xmm0, i64 %_l) {
29; CHECK: error: inline assembly requires more registers than available
30entry:
31  %0 = tail call i64 asm "vmulsd $1, $2, $0", "=v,v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(i64 %_l, <4 x float> %_xmm0)
32  ret i64 %0
33}
34
35
36define <4 x float> @testxmm_5(<4 x float> %_xmm0, i64 %_l) {
37; CHECK: error: inline assembly requires more registers than available
38entry:
39  %0 = tail call <4 x float> asm "vpabsq $1, $0", "=v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(i64 %_l)
40  ret <4 x float> %0
41}
42
43
44define <4 x float> @testxmm_6(<4 x float> %_xmm0, i64 %_l) {
45; CHECK: error: inline assembly requires more registers than available
46entry:
47  %0 = tail call <4 x float> asm "vpandd $1, $2, $0", "=v,v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(<4 x float> %_xmm0, i64 %_l)
48  ret <4 x float> %0
49}
50
51
52define <4 x float> @testxmm_7(<4 x float> %_xmm0, i64 %_l) {
53; CHECK: error: inline assembly requires more registers than available
54entry:
55  %0 = tail call <4 x float> asm "vpandnd $1, $2, $0", "=v,v,v,~{xmm0},~{xmm1},~{xmm2},~{xmm3},~{xmm4},~{xmm5},~{xmm6},~{xmm7},~{dirflag},~{fpsr},~{flags}"(<4 x float> %_xmm0, i64 %_l)
56  ret <4 x float> %0
57}
58
59
60define <8 x float> @testymm_1(<8 x float> %_ymm0, <8 x float> %_ymm1) {
61; CHECK: error: inline assembly requires more registers than available
62entry:
63  %0 = tail call <8 x float> asm "vmovsldup $1, $0", "=v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1)
64  ret <8 x float> %0
65}
66
67
68define <8 x float> @testymm_2(<8 x float> %_ymm0, <8 x float> %_ymm1) {
69; CHECK: error: inline assembly requires more registers than available
70entry:
71  %0 = tail call <8 x float> asm "vmovapd $1, $0", "=v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1)
72  ret <8 x float> %0
73}
74
75
76define <8 x float> @testymm_3(<8 x float> %_ymm0, <8 x float> %_ymm1) {
77; CHECK: error: inline assembly requires more registers than available
78entry:
79  %0 = tail call <8 x float> asm "vminpd $1, $2, $0", "=v,v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1, <8 x float> %_ymm1)
80  ret <8 x float> %0
81}
82
83
84define <8 x float> @testymm_4(<8 x float> %_ymm0, <8 x float> %_ymm1) {
85; CHECK: error: inline assembly requires more registers than available
86entry:
87  %0 = tail call <8 x float> asm "vpabsq $1, $0", "=v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1)
88  ret <8 x float> %0
89}
90
91
92define <8 x float> @testymm_5(<8 x float> %_ymm0, <8 x float> %_ymm1) {
93; CHECK: error: inline assembly requires more registers than available
94entry:
95  %0 = tail call <8 x float> asm "vpandd $1, $2, $0", "=v,v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1, <8 x float> %_ymm0)
96  ret <8 x float> %0
97}
98
99
100define <8 x float> @testymm_6(<8 x float> %_ymm0, <8 x float> %_ymm1) {
101; CHECK: error: inline assembly requires more registers than available
102entry:
103  %0 = tail call <8 x float> asm "vpandnd $1, $2, $0", "=v,v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1, <8 x float> %_ymm0)
104  ret <8 x float> %0
105}
106
107
108define <8 x float> @testymm_7(<8 x float> %_ymm0, <8 x float> %_ymm1) {
109; CHECK: error: inline assembly requires more registers than available
110entry:
111  %0 = tail call <8 x float> asm "vpminud $1, $2, $0", "=v,v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1, <8 x float> %_ymm0)
112  ret <8 x float> %0
113}
114
115
116define <8 x float> @testymm_8(<8 x float> %_ymm0, <8 x float> %_ymm1) {
117; CHECK: error: inline assembly requires more registers than available
118entry:
119  %0 = tail call <8 x float> asm "vpmaxsd $1, $2, $0", "=v,v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1, <8 x float> %_ymm0)
120  ret <8 x float> %0
121}
122
123
124define <8 x float> @testymm_9(<8 x float> %_ymm0, <8 x float> %_ymm1) {
125; CHECK: error: inline assembly requires more registers than available
126entry:
127  %0 = tail call <8 x float> asm "vmovups $1, $0", "=v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1)
128  ret <8 x float> %0
129}
130
131
132define <8 x float> @testymm_10(<8 x float> %_ymm0, <8 x float> %_ymm1) {
133; CHECK: error: inline assembly requires more registers than available
134entry:
135  %0 = tail call <8 x float> asm "vmovupd $1, $0", "=v,v,~{ymm0},~{ymm1},~{ymm2},~{ymm3},~{ymm4},~{ymm5},~{ymm6},~{ymm7},~{dirflag},~{fpsr},~{flags}"(<8 x float> %_ymm1)
136  ret <8 x float> %0
137}
138
139