File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cranelift/filetests/filetests/runtests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 {
178178block0(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 {
185185block0(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
191191function %iabs(i32x4) -> i32x4 {
192192block0(v0: i32x4):
You can’t perform that action at this time.
0 commit comments