Skip to content

Commit f8734c7

Browse files
committed
[CostModel][X86] fround.ll - add <2 x float> test coverage
1 parent 2bfcecf commit f8734c7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

llvm/test/Analysis/CostModel/X86/fround.ll

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ target triple = "x86_64-apple-macosx10.8.0"
1616
define i32 @ceil(i32 %arg) {
1717
; SSE2-LABEL: 'ceil'
1818
; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.ceil.f32(float undef)
19+
; SSE2-NEXT: Cost Model: Found an estimated cost of 21 for instruction: %V2F32 = call <2 x float> @llvm.ceil.v2f32(<2 x float> undef)
1920
; SSE2-NEXT: Cost Model: Found an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.ceil.v4f32(<4 x float> undef)
2021
; SSE2-NEXT: Cost Model: Found an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.ceil.v8f32(<8 x float> undef)
2122
; SSE2-NEXT: Cost Model: Found an estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.ceil.v16f32(<16 x float> undef)
@@ -27,6 +28,7 @@ define i32 @ceil(i32 %arg) {
2728
;
2829
; SSE42-LABEL: 'ceil'
2930
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.ceil.f32(float undef)
31+
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.ceil.v2f32(<2 x float> undef)
3032
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.ceil.v4f32(<4 x float> undef)
3133
; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8F32 = call <8 x float> @llvm.ceil.v8f32(<8 x float> undef)
3234
; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16F32 = call <16 x float> @llvm.ceil.v16f32(<16 x float> undef)
@@ -38,6 +40,7 @@ define i32 @ceil(i32 %arg) {
3840
;
3941
; AVX-LABEL: 'ceil'
4042
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.ceil.f32(float undef)
43+
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.ceil.v2f32(<2 x float> undef)
4144
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.ceil.v4f32(<4 x float> undef)
4245
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.ceil.v8f32(<8 x float> undef)
4346
; AVX-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16F32 = call <16 x float> @llvm.ceil.v16f32(<16 x float> undef)
@@ -49,6 +52,7 @@ define i32 @ceil(i32 %arg) {
4952
;
5053
; AVX512-LABEL: 'ceil'
5154
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.ceil.f32(float undef)
55+
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.ceil.v2f32(<2 x float> undef)
5256
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.ceil.v4f32(<4 x float> undef)
5357
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.ceil.v8f32(<8 x float> undef)
5458
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16F32 = call <16 x float> @llvm.ceil.v16f32(<16 x float> undef)
@@ -59,6 +63,7 @@ define i32 @ceil(i32 %arg) {
5963
; AVX512-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
6064
;
6165
%F32 = call float @llvm.ceil.f32(float undef)
66+
%V2F32 = call <2 x float> @llvm.ceil.v2f32(<2 x float> undef)
6267
%V4F32 = call <4 x float> @llvm.ceil.v4f32(<4 x float> undef)
6368
%V8F32 = call <8 x float> @llvm.ceil.v8f32(<8 x float> undef)
6469
%V16F32 = call <16 x float> @llvm.ceil.v16f32(<16 x float> undef)
@@ -74,6 +79,7 @@ define i32 @ceil(i32 %arg) {
7479
define i32 @floor(i32 %arg) {
7580
; SSE2-LABEL: 'floor'
7681
; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.floor.f32(float undef)
82+
; SSE2-NEXT: Cost Model: Found an estimated cost of 21 for instruction: %V2F32 = call <2 x float> @llvm.floor.v2f32(<2 x float> undef)
7783
; SSE2-NEXT: Cost Model: Found an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.floor.v4f32(<4 x float> undef)
7884
; SSE2-NEXT: Cost Model: Found an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.floor.v8f32(<8 x float> undef)
7985
; SSE2-NEXT: Cost Model: Found an estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.floor.v16f32(<16 x float> undef)
@@ -85,6 +91,7 @@ define i32 @floor(i32 %arg) {
8591
;
8692
; SSE42-LABEL: 'floor'
8793
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.floor.f32(float undef)
94+
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.floor.v2f32(<2 x float> undef)
8895
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.floor.v4f32(<4 x float> undef)
8996
; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8F32 = call <8 x float> @llvm.floor.v8f32(<8 x float> undef)
9097
; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16F32 = call <16 x float> @llvm.floor.v16f32(<16 x float> undef)
@@ -96,6 +103,7 @@ define i32 @floor(i32 %arg) {
96103
;
97104
; AVX-LABEL: 'floor'
98105
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.floor.f32(float undef)
106+
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.floor.v2f32(<2 x float> undef)
99107
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.floor.v4f32(<4 x float> undef)
100108
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.floor.v8f32(<8 x float> undef)
101109
; AVX-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16F32 = call <16 x float> @llvm.floor.v16f32(<16 x float> undef)
@@ -107,6 +115,7 @@ define i32 @floor(i32 %arg) {
107115
;
108116
; AVX512-LABEL: 'floor'
109117
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.floor.f32(float undef)
118+
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.floor.v2f32(<2 x float> undef)
110119
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.floor.v4f32(<4 x float> undef)
111120
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.floor.v8f32(<8 x float> undef)
112121
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16F32 = call <16 x float> @llvm.floor.v16f32(<16 x float> undef)
@@ -117,6 +126,7 @@ define i32 @floor(i32 %arg) {
117126
; AVX512-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
118127
;
119128
%F32 = call float @llvm.floor.f32(float undef)
129+
%V2F32 = call <2 x float> @llvm.floor.v2f32(<2 x float> undef)
120130
%V4F32 = call <4 x float> @llvm.floor.v4f32(<4 x float> undef)
121131
%V8F32 = call <8 x float> @llvm.floor.v8f32(<8 x float> undef)
122132
%V16F32 = call <16 x float> @llvm.floor.v16f32(<16 x float> undef)
@@ -132,6 +142,7 @@ define i32 @floor(i32 %arg) {
132142
define i32 @nearbyint(i32 %arg) {
133143
; SSE2-LABEL: 'nearbyint'
134144
; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.nearbyint.f32(float undef)
145+
; SSE2-NEXT: Cost Model: Found an estimated cost of 21 for instruction: %V2F32 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> undef)
135146
; SSE2-NEXT: Cost Model: Found an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> undef)
136147
; SSE2-NEXT: Cost Model: Found an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> undef)
137148
; SSE2-NEXT: Cost Model: Found an estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> undef)
@@ -143,6 +154,7 @@ define i32 @nearbyint(i32 %arg) {
143154
;
144155
; SSE42-LABEL: 'nearbyint'
145156
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.nearbyint.f32(float undef)
157+
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> undef)
146158
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> undef)
147159
; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8F32 = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> undef)
148160
; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16F32 = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> undef)
@@ -154,6 +166,7 @@ define i32 @nearbyint(i32 %arg) {
154166
;
155167
; AVX-LABEL: 'nearbyint'
156168
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.nearbyint.f32(float undef)
169+
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> undef)
157170
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> undef)
158171
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> undef)
159172
; AVX-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16F32 = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> undef)
@@ -165,6 +178,7 @@ define i32 @nearbyint(i32 %arg) {
165178
;
166179
; AVX512-LABEL: 'nearbyint'
167180
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.nearbyint.f32(float undef)
181+
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> undef)
168182
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> undef)
169183
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> undef)
170184
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16F32 = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> undef)
@@ -175,6 +189,7 @@ define i32 @nearbyint(i32 %arg) {
175189
; AVX512-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
176190
;
177191
%F32 = call float @llvm.nearbyint.f32(float undef)
192+
%V2F32 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> undef)
178193
%V4F32 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> undef)
179194
%V8F32 = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> undef)
180195
%V16F32 = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> undef)
@@ -190,6 +205,7 @@ define i32 @nearbyint(i32 %arg) {
190205
define i32 @rint(i32 %arg) {
191206
; SSE2-LABEL: 'rint'
192207
; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.rint.f32(float undef)
208+
; SSE2-NEXT: Cost Model: Found an estimated cost of 21 for instruction: %V2F32 = call <2 x float> @llvm.rint.v2f32(<2 x float> undef)
193209
; SSE2-NEXT: Cost Model: Found an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> undef)
194210
; SSE2-NEXT: Cost Model: Found an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> undef)
195211
; SSE2-NEXT: Cost Model: Found an estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float> undef)
@@ -201,6 +217,7 @@ define i32 @rint(i32 %arg) {
201217
;
202218
; SSE42-LABEL: 'rint'
203219
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.rint.f32(float undef)
220+
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.rint.v2f32(<2 x float> undef)
204221
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> undef)
205222
; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> undef)
206223
; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float> undef)
@@ -212,6 +229,7 @@ define i32 @rint(i32 %arg) {
212229
;
213230
; AVX-LABEL: 'rint'
214231
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.rint.f32(float undef)
232+
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.rint.v2f32(<2 x float> undef)
215233
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> undef)
216234
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> undef)
217235
; AVX-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float> undef)
@@ -223,6 +241,7 @@ define i32 @rint(i32 %arg) {
223241
;
224242
; AVX512-LABEL: 'rint'
225243
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.rint.f32(float undef)
244+
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.rint.v2f32(<2 x float> undef)
226245
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> undef)
227246
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> undef)
228247
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float> undef)
@@ -233,6 +252,7 @@ define i32 @rint(i32 %arg) {
233252
; AVX512-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
234253
;
235254
%F32 = call float @llvm.rint.f32(float undef)
255+
%V2F32 = call <2 x float> @llvm.rint.v2f32(<2 x float> undef)
236256
%V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> undef)
237257
%V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> undef)
238258
%V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float> undef)
@@ -248,6 +268,7 @@ define i32 @rint(i32 %arg) {
248268
define i32 @trunc(i32 %arg) {
249269
; SSE2-LABEL: 'trunc'
250270
; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.trunc.f32(float undef)
271+
; SSE2-NEXT: Cost Model: Found an estimated cost of 21 for instruction: %V2F32 = call <2 x float> @llvm.trunc.v2f32(<2 x float> undef)
251272
; SSE2-NEXT: Cost Model: Found an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.trunc.v4f32(<4 x float> undef)
252273
; SSE2-NEXT: Cost Model: Found an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.trunc.v8f32(<8 x float> undef)
253274
; SSE2-NEXT: Cost Model: Found an estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.trunc.v16f32(<16 x float> undef)
@@ -259,6 +280,7 @@ define i32 @trunc(i32 %arg) {
259280
;
260281
; SSE42-LABEL: 'trunc'
261282
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.trunc.f32(float undef)
283+
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.trunc.v2f32(<2 x float> undef)
262284
; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.trunc.v4f32(<4 x float> undef)
263285
; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8F32 = call <8 x float> @llvm.trunc.v8f32(<8 x float> undef)
264286
; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16F32 = call <16 x float> @llvm.trunc.v16f32(<16 x float> undef)
@@ -270,6 +292,7 @@ define i32 @trunc(i32 %arg) {
270292
;
271293
; AVX-LABEL: 'trunc'
272294
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.trunc.f32(float undef)
295+
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.trunc.v2f32(<2 x float> undef)
273296
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.trunc.v4f32(<4 x float> undef)
274297
; AVX-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.trunc.v8f32(<8 x float> undef)
275298
; AVX-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16F32 = call <16 x float> @llvm.trunc.v16f32(<16 x float> undef)
@@ -281,6 +304,7 @@ define i32 @trunc(i32 %arg) {
281304
;
282305
; AVX512-LABEL: 'trunc'
283306
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.trunc.f32(float undef)
307+
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F32 = call <2 x float> @llvm.trunc.v2f32(<2 x float> undef)
284308
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @llvm.trunc.v4f32(<4 x float> undef)
285309
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @llvm.trunc.v8f32(<8 x float> undef)
286310
; AVX512-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16F32 = call <16 x float> @llvm.trunc.v16f32(<16 x float> undef)
@@ -291,6 +315,7 @@ define i32 @trunc(i32 %arg) {
291315
; AVX512-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef
292316
;
293317
%F32 = call float @llvm.trunc.f32(float undef)
318+
%V2F32 = call <2 x float> @llvm.trunc.v2f32(<2 x float> undef)
294319
%V4F32 = call <4 x float> @llvm.trunc.v4f32(<4 x float> undef)
295320
%V8F32 = call <8 x float> @llvm.trunc.v8f32(<8 x float> undef)
296321
%V16F32 = call <16 x float> @llvm.trunc.v16f32(<16 x float> undef)
@@ -304,6 +329,7 @@ define i32 @trunc(i32 %arg) {
304329
}
305330

306331
declare float @llvm.ceil.f32(float)
332+
declare <2 x float> @llvm.ceil.v2f32(<2 x float>)
307333
declare <4 x float> @llvm.ceil.v4f32(<4 x float>)
308334
declare <8 x float> @llvm.ceil.v8f32(<8 x float>)
309335
declare <16 x float> @llvm.ceil.v16f32(<16 x float>)
@@ -314,6 +340,7 @@ declare <4 x double> @llvm.ceil.v4f64(<4 x double>)
314340
declare <8 x double> @llvm.ceil.v8f64(<8 x double>)
315341

316342
declare float @llvm.floor.f32(float)
343+
declare <2 x float> @llvm.floor.v2f32(<2 x float>)
317344
declare <4 x float> @llvm.floor.v4f32(<4 x float>)
318345
declare <8 x float> @llvm.floor.v8f32(<8 x float>)
319346
declare <16 x float> @llvm.floor.v16f32(<16 x float>)
@@ -324,6 +351,7 @@ declare <4 x double> @llvm.floor.v4f64(<4 x double>)
324351
declare <8 x double> @llvm.floor.v8f64(<8 x double>)
325352

326353
declare float @llvm.nearbyint.f32(float)
354+
declare <2 x float> @llvm.nearbyint.v2f32(<2 x float>)
327355
declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>)
328356
declare <8 x float> @llvm.nearbyint.v8f32(<8 x float>)
329357
declare <16 x float> @llvm.nearbyint.v16f32(<16 x float>)
@@ -334,6 +362,7 @@ declare <4 x double> @llvm.nearbyint.v4f64(<4 x double>)
334362
declare <8 x double> @llvm.nearbyint.v8f64(<8 x double>)
335363

336364
declare float @llvm.rint.f32(float)
365+
declare <2 x float> @llvm.rint.v2f32(<2 x float>)
337366
declare <4 x float> @llvm.rint.v4f32(<4 x float>)
338367
declare <8 x float> @llvm.rint.v8f32(<8 x float>)
339368
declare <16 x float> @llvm.rint.v16f32(<16 x float>)
@@ -344,6 +373,7 @@ declare <4 x double> @llvm.rint.v4f64(<4 x double>)
344373
declare <8 x double> @llvm.rint.v8f64(<8 x double>)
345374

346375
declare float @llvm.trunc.f32(float)
376+
declare <2 x float> @llvm.trunc.v2f32(<2 x float>)
347377
declare <4 x float> @llvm.trunc.v4f32(<4 x float>)
348378
declare <8 x float> @llvm.trunc.v8f32(<8 x float>)
349379
declare <16 x float> @llvm.trunc.v16f32(<16 x float>)

0 commit comments

Comments
 (0)