Skip to content

Commit 7989edc

Browse files
committed
cranelift: Deduplicate ExtName for avg_round tests
1 parent 0e695e8 commit 7989edc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cranelift/filetests/filetests/runtests/simd-arithmetic.clif

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,19 @@ block0(v0: f32x4):
174174
}
175175
; run: %fabs_f32x4([0x0.0 -0x1.0 0x2.0 -0x3.0]) == [0x0.0 0x1.0 0x2.0 0x3.0]
176176

177-
function %average_rounding_i8x16(i8x16, i8x16) -> i8x16 {
177+
function %avg_round_i8x16(i8x16, i8x16) -> i8x16 {
178178
block0(v0: i8x16, v1: i8x16):
179179
v2 = avg_round v0, v1
180180
return v2
181181
}
182-
; run: %average_rounding_i8x16([0 0 0 1 42 19 -1 0xff 5 0 0 0 1 42 19 -1], [0 1 2 4 42 18 -1 0 10 0 1 2 4 42 18 -1]) == [0 1 1 3 42 19 -1 0x80 8 0 1 1 3 42 19 -1]
182+
; run: %avg_round_i8x16([0 0 0 1 42 19 -1 0xff 5 0 0 0 1 42 19 -1], [0 1 2 4 42 18 -1 0 10 0 1 2 4 42 18 -1]) == [0 1 1 3 42 19 -1 0x80 8 0 1 1 3 42 19 -1]
183183

184-
function %average_rounding_i16x8(i16x8, i16x8) -> i16x8 {
184+
function %avg_round_i16x8(i16x8, i16x8) -> i16x8 {
185185
block0(v0: i16x8, v1: i16x8):
186186
v2 = avg_round v0, v1
187187
return v2
188188
}
189-
; run: %average_rounding_i16x8([0 0 0 1 42 19 -1 0xffff], [0 1 2 4 42 18 -1 0]) == [0 1 1 3 42 19 -1 0x8000]
189+
; run: %avg_round_i16x8([0 0 0 1 42 19 -1 0xffff], [0 1 2 4 42 18 -1 0]) == [0 1 1 3 42 19 -1 0x8000]
190190

191191
function %iabs(i32x4) -> i32x4 {
192192
block0(v0: i32x4):

0 commit comments

Comments
 (0)