diff options
author | Ng Zhi An <ngzhian@gmail.com> | 2021-03-11 14:18:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 14:18:09 -0800 |
commit | 08c15bc9b961428d8c1357bf608daa9dfb76d31e (patch) | |
tree | 2d827f58c7d15bf81ef7caa31ec785b146d174b6 /test/roundtrip | |
parent | 9b21a2b92ae3cc66be163e1349f6825f5585ca34 (diff) | |
download | wabt-08c15bc9b961428d8c1357bf608daa9dfb76d31e.tar.gz wabt-08c15bc9b961428d8c1357bf608daa9dfb76d31e.tar.bz2 wabt-08c15bc9b961428d8c1357bf608daa9dfb76d31e.zip |
[simd] Rename widen to extend, implement some double precision ops (#1633)
4 double precision conversion instructions are implemented:
- f32x4.demote_f64x2_zero
- f64x2.demote_low_f32x4
- f64x2.convert_low_i32x4_s
- f64x2.convert_low_i32x4_u
This is now sufficient to unskip simd_conversions.txt.
Rebase a bunch of tests due to the rename from widen to extend.
Diffstat (limited to 'test/roundtrip')
-rw-r--r-- | test/roundtrip/fold-simd.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/roundtrip/fold-simd.txt b/test/roundtrip/fold-simd.txt index 04cddfb2..96082bad 100644 --- a/test/roundtrip/fold-simd.txt +++ b/test/roundtrip/fold-simd.txt @@ -119,10 +119,10 @@ local.get 0 i16x8.all_true drop local.get 0 local.get 0 i16x8.narrow_i32x4_s drop local.get 0 local.get 0 i16x8.narrow_i32x4_u drop - local.get 0 i16x8.widen_low_i8x16_s drop - local.get 0 i16x8.widen_high_i8x16_s drop - local.get 0 i16x8.widen_low_i8x16_u drop - local.get 0 i16x8.widen_high_i8x16_u drop + local.get 0 i16x8.extend_low_i8x16_s drop + local.get 0 i16x8.extend_high_i8x16_s drop + local.get 0 i16x8.extend_low_i8x16_u drop + local.get 0 i16x8.extend_high_i8x16_u drop local.get 0 i32.const 0 i16x8.shl drop local.get 0 i32.const 0 i16x8.shr_s drop local.get 0 i32.const 0 i16x8.shr_u drop @@ -142,10 +142,10 @@ local.get 0 i32x4.abs drop local.get 0 i32x4.neg drop local.get 0 i32x4.all_true drop - local.get 0 i32x4.widen_low_i16x8_s drop - local.get 0 i32x4.widen_high_i16x8_s drop - local.get 0 i32x4.widen_low_i16x8_u drop - local.get 0 i32x4.widen_high_i16x8_u drop + local.get 0 i32x4.extend_low_i16x8_s drop + local.get 0 i32x4.extend_high_i16x8_s drop + local.get 0 i32x4.extend_low_i16x8_u drop + local.get 0 i32x4.extend_high_i16x8_u drop local.get 0 i32.const 0 i32x4.shl drop local.get 0 i32.const 0 i32x4.shr_s drop local.get 0 i32.const 0 i32x4.shr_u drop @@ -594,16 +594,16 @@ (local.get 0) (local.get 0))) (drop - (i16x8.widen_low_i8x16_s + (i16x8.extend_low_i8x16_s (local.get 0))) (drop - (i16x8.widen_high_i8x16_s + (i16x8.extend_high_i8x16_s (local.get 0))) (drop - (i16x8.widen_low_i8x16_u + (i16x8.extend_low_i8x16_u (local.get 0))) (drop - (i16x8.widen_high_i8x16_u + (i16x8.extend_high_i8x16_u (local.get 0))) (drop (i16x8.shl @@ -675,16 +675,16 @@ (i32x4.all_true (local.get 0))) (drop - (i32x4.widen_low_i16x8_s + (i32x4.extend_low_i16x8_s (local.get 0))) (drop - (i32x4.widen_high_i16x8_s + (i32x4.extend_high_i16x8_s (local.get 0))) (drop - (i32x4.widen_low_i16x8_u + (i32x4.extend_low_i16x8_u (local.get 0))) (drop - (i32x4.widen_high_i16x8_u + (i32x4.extend_high_i16x8_u (local.get 0))) (drop (i32x4.shl |