summaryrefslogtreecommitdiff
path: root/test/wasm2c/spec
diff options
context:
space:
mode:
authorWilly R. Vasquez <wrv@utexas.edu>2023-01-29 10:48:56 -0600
committerGitHub <noreply@github.com>2023-01-29 08:48:56 -0800
commit8a7b7497bdf78f9099f8d5a3a2c9bde87ddd52da (patch)
tree1996c3154a28f875248d4fed6fdfe54cd1b6c856 /test/wasm2c/spec
parentc831b98d2ed0571cda9b3ed7acaddd0df2c5a934 (diff)
downloadwabt-8a7b7497bdf78f9099f8d5a3a2c9bde87ddd52da.tar.gz
wabt-8a7b7497bdf78f9099f8d5a3a2c9bde87ddd52da.tar.bz2
wabt-8a7b7497bdf78f9099f8d5a3a2c9bde87ddd52da.zip
wasm2c: add SIMD support (#2119)
This change incorporates [simd-everywhere](https://github.com/simd-everywhere/simde) into the wasm2c output, which maps wasm SIMD C intrinsics to any supported target architecture.
Diffstat (limited to 'test/wasm2c/spec')
-rw-r--r--test/wasm2c/spec/multi-memory/memory-multi.txt6
-rw-r--r--test/wasm2c/spec/simd_address.txt5
-rw-r--r--test/wasm2c/spec/simd_align.txt5
-rw-r--r--test/wasm2c/spec/simd_bit_shift.txt5
-rw-r--r--test/wasm2c/spec/simd_bitwise.txt5
-rw-r--r--test/wasm2c/spec/simd_boolean.txt5
-rw-r--r--test/wasm2c/spec/simd_const.txt5
-rw-r--r--test/wasm2c/spec/simd_conversions.txt5
-rw-r--r--test/wasm2c/spec/simd_f32x4_arith.txt6
-rw-r--r--test/wasm2c/spec/simd_f32x4_cmp.txt6
-rw-r--r--test/wasm2c/spec/simd_f32x4_pmin_pmax.txt6
-rw-r--r--test/wasm2c/spec/simd_f64x2_arith.txt6
-rw-r--r--test/wasm2c/spec/simd_f64x2_cmp.txt6
-rw-r--r--test/wasm2c/spec/simd_f64x2_pmin_pmax.txt6
-rw-r--r--test/wasm2c/spec/simd_i16x8_arith.txt5
-rw-r--r--test/wasm2c/spec/simd_i16x8_arith2.txt5
-rw-r--r--test/wasm2c/spec/simd_i16x8_cmp.txt5
-rw-r--r--test/wasm2c/spec/simd_i16x8_extadd_pairwise_i8x16.txt5
-rw-r--r--test/wasm2c/spec/simd_i16x8_extmul_i8x16.txt5
-rw-r--r--test/wasm2c/spec/simd_i16x8_sat_arith.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_arith.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_arith2.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_cmp.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_dot_i16x8.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_extadd_pairwise_i16x8.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_extmul_i16x8.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_trunc_sat_f32x4.txt5
-rw-r--r--test/wasm2c/spec/simd_i32x4_trunc_sat_f64x2.txt5
-rw-r--r--test/wasm2c/spec/simd_i64x2_arith.txt5
-rw-r--r--test/wasm2c/spec/simd_i64x2_arith2.txt5
-rw-r--r--test/wasm2c/spec/simd_i64x2_cmp.txt5
-rw-r--r--test/wasm2c/spec/simd_i64x2_extmul_i32x4.txt5
-rw-r--r--test/wasm2c/spec/simd_i8x16_arith.txt5
-rw-r--r--test/wasm2c/spec/simd_i8x16_arith2.txt5
-rw-r--r--test/wasm2c/spec/simd_i8x16_cmp.txt6
-rw-r--r--test/wasm2c/spec/simd_i8x16_sat_arith.txt5
-rw-r--r--test/wasm2c/spec/simd_int_to_int_extend.txt5
-rw-r--r--test/wasm2c/spec/simd_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_load.txt5
-rw-r--r--test/wasm2c/spec/simd_load16_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_load32_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_load64_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_load8_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_load_extend.txt5
-rw-r--r--test/wasm2c/spec/simd_load_splat.txt5
-rw-r--r--test/wasm2c/spec/simd_load_zero.txt5
-rw-r--r--test/wasm2c/spec/simd_splat.txt5
-rw-r--r--test/wasm2c/spec/simd_store.txt5
-rw-r--r--test/wasm2c/spec/simd_store16_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_store32_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_store64_lane.txt5
-rw-r--r--test/wasm2c/spec/simd_store8_lane.txt5
52 files changed, 268 insertions, 0 deletions
diff --git a/test/wasm2c/spec/multi-memory/memory-multi.txt b/test/wasm2c/spec/multi-memory/memory-multi.txt
new file mode 100644
index 00000000..9fb7d0fa
--- /dev/null
+++ b/test/wasm2c/spec/multi-memory/memory-multi.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/proposals/multi-memory/memory-multi.wast
+;;; ARGS*: --enable-multi-memory
+(;; STDOUT ;;;
+4/4 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_address.txt b/test/wasm2c/spec/simd_address.txt
new file mode 100644
index 00000000..042696df
--- /dev/null
+++ b/test/wasm2c/spec/simd_address.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_address.wast
+(;; STDOUT ;;;
+42/42 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_align.txt b/test/wasm2c/spec/simd_align.txt
new file mode 100644
index 00000000..946945b2
--- /dev/null
+++ b/test/wasm2c/spec/simd_align.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_align.wast
+(;; STDOUT ;;;
+8/8 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_bit_shift.txt b/test/wasm2c/spec/simd_bit_shift.txt
new file mode 100644
index 00000000..a1f21254
--- /dev/null
+++ b/test/wasm2c/spec/simd_bit_shift.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_bit_shift.wast
+(;; STDOUT ;;;
+211/211 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_bitwise.txt b/test/wasm2c/spec/simd_bitwise.txt
new file mode 100644
index 00000000..598c2614
--- /dev/null
+++ b/test/wasm2c/spec/simd_bitwise.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_bitwise.wast
+(;; STDOUT ;;;
+139/139 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_boolean.txt b/test/wasm2c/spec/simd_boolean.txt
new file mode 100644
index 00000000..c7f8c824
--- /dev/null
+++ b/test/wasm2c/spec/simd_boolean.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_boolean.wast
+(;; STDOUT ;;;
+259/259 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_const.txt b/test/wasm2c/spec/simd_const.txt
new file mode 100644
index 00000000..a9a48943
--- /dev/null
+++ b/test/wasm2c/spec/simd_const.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_const.wast
+(;; STDOUT ;;;
+265/265 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_conversions.txt b/test/wasm2c/spec/simd_conversions.txt
new file mode 100644
index 00000000..0f1c3b3c
--- /dev/null
+++ b/test/wasm2c/spec/simd_conversions.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_conversions.wast
+(;; STDOUT ;;;
+232/232 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_f32x4_arith.txt b/test/wasm2c/spec/simd_f32x4_arith.txt
new file mode 100644
index 00000000..41530733
--- /dev/null
+++ b/test/wasm2c/spec/simd_f32x4_arith.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_f32x4_arith.wast
+;;; SLOW:
+(;; STDOUT ;;;
+1803/1803 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_f32x4_cmp.txt b/test/wasm2c/spec/simd_f32x4_cmp.txt
new file mode 100644
index 00000000..40757a7b
--- /dev/null
+++ b/test/wasm2c/spec/simd_f32x4_cmp.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_f32x4_cmp.wast
+;;; SLOW:
+(;; STDOUT ;;;
+2581/2581 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_f32x4_pmin_pmax.txt b/test/wasm2c/spec/simd_f32x4_pmin_pmax.txt
new file mode 100644
index 00000000..793d2d84
--- /dev/null
+++ b/test/wasm2c/spec/simd_f32x4_pmin_pmax.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_f32x4_pmin_pmax.wast
+;;; SLOW:
+(;; STDOUT ;;;
+3872/3872 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_f64x2_arith.txt b/test/wasm2c/spec/simd_f64x2_arith.txt
new file mode 100644
index 00000000..527752d2
--- /dev/null
+++ b/test/wasm2c/spec/simd_f64x2_arith.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_f64x2_arith.wast
+;;; SLOW:
+(;; STDOUT ;;;
+1806/1806 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_f64x2_cmp.txt b/test/wasm2c/spec/simd_f64x2_cmp.txt
new file mode 100644
index 00000000..3f7f8f3a
--- /dev/null
+++ b/test/wasm2c/spec/simd_f64x2_cmp.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_f64x2_cmp.wast
+;;; SLOW:
+(;; STDOUT ;;;
+2659/2659 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_f64x2_pmin_pmax.txt b/test/wasm2c/spec/simd_f64x2_pmin_pmax.txt
new file mode 100644
index 00000000..f60ff28e
--- /dev/null
+++ b/test/wasm2c/spec/simd_f64x2_pmin_pmax.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_f64x2_pmin_pmax.wast
+;;; SLOW:
+(;; STDOUT ;;;
+3872/3872 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i16x8_arith.txt b/test/wasm2c/spec/simd_i16x8_arith.txt
new file mode 100644
index 00000000..2203ec53
--- /dev/null
+++ b/test/wasm2c/spec/simd_i16x8_arith.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i16x8_arith.wast
+(;; STDOUT ;;;
+181/181 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i16x8_arith2.txt b/test/wasm2c/spec/simd_i16x8_arith2.txt
new file mode 100644
index 00000000..a8e4893a
--- /dev/null
+++ b/test/wasm2c/spec/simd_i16x8_arith2.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i16x8_arith2.wast
+(;; STDOUT ;;;
+151/151 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i16x8_cmp.txt b/test/wasm2c/spec/simd_i16x8_cmp.txt
new file mode 100644
index 00000000..35c38704
--- /dev/null
+++ b/test/wasm2c/spec/simd_i16x8_cmp.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i16x8_cmp.wast
+(;; STDOUT ;;;
+433/433 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i16x8_extadd_pairwise_i8x16.txt b/test/wasm2c/spec/simd_i16x8_extadd_pairwise_i8x16.txt
new file mode 100644
index 00000000..3011c736
--- /dev/null
+++ b/test/wasm2c/spec/simd_i16x8_extadd_pairwise_i8x16.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i16x8_extadd_pairwise_i8x16.wast
+(;; STDOUT ;;;
+16/16 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i16x8_extmul_i8x16.txt b/test/wasm2c/spec/simd_i16x8_extmul_i8x16.txt
new file mode 100644
index 00000000..f66f68b3
--- /dev/null
+++ b/test/wasm2c/spec/simd_i16x8_extmul_i8x16.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i16x8_extmul_i8x16.wast
+(;; STDOUT ;;;
+104/104 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i16x8_sat_arith.txt b/test/wasm2c/spec/simd_i16x8_sat_arith.txt
new file mode 100644
index 00000000..d76254ba
--- /dev/null
+++ b/test/wasm2c/spec/simd_i16x8_sat_arith.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i16x8_sat_arith.wast
+(;; STDOUT ;;;
+204/204 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_arith.txt b/test/wasm2c/spec/simd_i32x4_arith.txt
new file mode 100644
index 00000000..cddf1ead
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_arith.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_arith.wast
+(;; STDOUT ;;;
+181/181 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_arith2.txt b/test/wasm2c/spec/simd_i32x4_arith2.txt
new file mode 100644
index 00000000..ece8cc0f
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_arith2.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_arith2.wast
+(;; STDOUT ;;;
+121/121 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_cmp.txt b/test/wasm2c/spec/simd_i32x4_cmp.txt
new file mode 100644
index 00000000..d7051cdf
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_cmp.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_cmp.wast
+(;; STDOUT ;;;
+433/433 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_dot_i16x8.txt b/test/wasm2c/spec/simd_i32x4_dot_i16x8.txt
new file mode 100644
index 00000000..0f3bb8aa
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_dot_i16x8.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_dot_i16x8.wast
+(;; STDOUT ;;;
+26/26 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_extadd_pairwise_i16x8.txt b/test/wasm2c/spec/simd_i32x4_extadd_pairwise_i16x8.txt
new file mode 100644
index 00000000..e9e17ac7
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_extadd_pairwise_i16x8.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_extadd_pairwise_i16x8.wast
+(;; STDOUT ;;;
+16/16 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_extmul_i16x8.txt b/test/wasm2c/spec/simd_i32x4_extmul_i16x8.txt
new file mode 100644
index 00000000..89d6ecfb
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_extmul_i16x8.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_extmul_i16x8.wast
+(;; STDOUT ;;;
+104/104 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_trunc_sat_f32x4.txt b/test/wasm2c/spec/simd_i32x4_trunc_sat_f32x4.txt
new file mode 100644
index 00000000..eb107fd3
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_trunc_sat_f32x4.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_trunc_sat_f32x4.wast
+(;; STDOUT ;;;
+102/102 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i32x4_trunc_sat_f64x2.txt b/test/wasm2c/spec/simd_i32x4_trunc_sat_f64x2.txt
new file mode 100644
index 00000000..baf057c4
--- /dev/null
+++ b/test/wasm2c/spec/simd_i32x4_trunc_sat_f64x2.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i32x4_trunc_sat_f64x2.wast
+(;; STDOUT ;;;
+102/102 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i64x2_arith.txt b/test/wasm2c/spec/simd_i64x2_arith.txt
new file mode 100644
index 00000000..af85a449
--- /dev/null
+++ b/test/wasm2c/spec/simd_i64x2_arith.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i64x2_arith.wast
+(;; STDOUT ;;;
+187/187 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i64x2_arith2.txt b/test/wasm2c/spec/simd_i64x2_arith2.txt
new file mode 100644
index 00000000..7e277f45
--- /dev/null
+++ b/test/wasm2c/spec/simd_i64x2_arith2.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i64x2_arith2.wast
+(;; STDOUT ;;;
+21/21 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i64x2_cmp.txt b/test/wasm2c/spec/simd_i64x2_cmp.txt
new file mode 100644
index 00000000..8b2f913f
--- /dev/null
+++ b/test/wasm2c/spec/simd_i64x2_cmp.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i64x2_cmp.wast
+(;; STDOUT ;;;
+102/102 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i64x2_extmul_i32x4.txt b/test/wasm2c/spec/simd_i64x2_extmul_i32x4.txt
new file mode 100644
index 00000000..fd368abd
--- /dev/null
+++ b/test/wasm2c/spec/simd_i64x2_extmul_i32x4.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i64x2_extmul_i32x4.wast
+(;; STDOUT ;;;
+104/104 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i8x16_arith.txt b/test/wasm2c/spec/simd_i8x16_arith.txt
new file mode 100644
index 00000000..c7c33479
--- /dev/null
+++ b/test/wasm2c/spec/simd_i8x16_arith.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i8x16_arith.wast
+(;; STDOUT ;;;
+121/121 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i8x16_arith2.txt b/test/wasm2c/spec/simd_i8x16_arith2.txt
new file mode 100644
index 00000000..02f6a842
--- /dev/null
+++ b/test/wasm2c/spec/simd_i8x16_arith2.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i8x16_arith2.wast
+(;; STDOUT ;;;
+184/184 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i8x16_cmp.txt b/test/wasm2c/spec/simd_i8x16_cmp.txt
new file mode 100644
index 00000000..425db5f4
--- /dev/null
+++ b/test/wasm2c/spec/simd_i8x16_cmp.txt
@@ -0,0 +1,6 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i8x16_cmp.wast
+;;; SLOW:
+(;; STDOUT ;;;
+413/413 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_i8x16_sat_arith.txt b/test/wasm2c/spec/simd_i8x16_sat_arith.txt
new file mode 100644
index 00000000..0e224fe2
--- /dev/null
+++ b/test/wasm2c/spec/simd_i8x16_sat_arith.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_i8x16_sat_arith.wast
+(;; STDOUT ;;;
+188/188 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_int_to_int_extend.txt b/test/wasm2c/spec/simd_int_to_int_extend.txt
new file mode 100644
index 00000000..80952179
--- /dev/null
+++ b/test/wasm2c/spec/simd_int_to_int_extend.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_int_to_int_extend.wast
+(;; STDOUT ;;;
+228/228 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_lane.txt b/test/wasm2c/spec/simd_lane.txt
new file mode 100644
index 00000000..9f7ecdf7
--- /dev/null
+++ b/test/wasm2c/spec/simd_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_lane.wast
+(;; STDOUT ;;;
+274/274 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load.txt b/test/wasm2c/spec/simd_load.txt
new file mode 100644
index 00000000..9207a67c
--- /dev/null
+++ b/test/wasm2c/spec/simd_load.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load.wast
+(;; STDOUT ;;;
+17/17 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load16_lane.txt b/test/wasm2c/spec/simd_load16_lane.txt
new file mode 100644
index 00000000..bc40269e
--- /dev/null
+++ b/test/wasm2c/spec/simd_load16_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load16_lane.wast
+(;; STDOUT ;;;
+32/32 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load32_lane.txt b/test/wasm2c/spec/simd_load32_lane.txt
new file mode 100644
index 00000000..2667cada
--- /dev/null
+++ b/test/wasm2c/spec/simd_load32_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load32_lane.wast
+(;; STDOUT ;;;
+20/20 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load64_lane.txt b/test/wasm2c/spec/simd_load64_lane.txt
new file mode 100644
index 00000000..3b7b0c81
--- /dev/null
+++ b/test/wasm2c/spec/simd_load64_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load64_lane.wast
+(;; STDOUT ;;;
+12/12 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load8_lane.txt b/test/wasm2c/spec/simd_load8_lane.txt
new file mode 100644
index 00000000..5fadd907
--- /dev/null
+++ b/test/wasm2c/spec/simd_load8_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load8_lane.wast
+(;; STDOUT ;;;
+48/48 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load_extend.txt b/test/wasm2c/spec/simd_load_extend.txt
new file mode 100644
index 00000000..ccaf1542
--- /dev/null
+++ b/test/wasm2c/spec/simd_load_extend.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load_extend.wast
+(;; STDOUT ;;;
+84/84 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load_splat.txt b/test/wasm2c/spec/simd_load_splat.txt
new file mode 100644
index 00000000..5ccd21fa
--- /dev/null
+++ b/test/wasm2c/spec/simd_load_splat.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load_splat.wast
+(;; STDOUT ;;;
+112/112 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_load_zero.txt b/test/wasm2c/spec/simd_load_zero.txt
new file mode 100644
index 00000000..273ca061
--- /dev/null
+++ b/test/wasm2c/spec/simd_load_zero.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_load_zero.wast
+(;; STDOUT ;;;
+27/27 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_splat.txt b/test/wasm2c/spec/simd_splat.txt
new file mode 100644
index 00000000..35dd5c70
--- /dev/null
+++ b/test/wasm2c/spec/simd_splat.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_splat.wast
+(;; STDOUT ;;;
+158/158 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_store.txt b/test/wasm2c/spec/simd_store.txt
new file mode 100644
index 00000000..9ad27ad2
--- /dev/null
+++ b/test/wasm2c/spec/simd_store.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_store.wast
+(;; STDOUT ;;;
+17/17 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_store16_lane.txt b/test/wasm2c/spec/simd_store16_lane.txt
new file mode 100644
index 00000000..2e7a1e51
--- /dev/null
+++ b/test/wasm2c/spec/simd_store16_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_store16_lane.wast
+(;; STDOUT ;;;
+32/32 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_store32_lane.txt b/test/wasm2c/spec/simd_store32_lane.txt
new file mode 100644
index 00000000..3e02dfd3
--- /dev/null
+++ b/test/wasm2c/spec/simd_store32_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_store32_lane.wast
+(;; STDOUT ;;;
+20/20 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_store64_lane.txt b/test/wasm2c/spec/simd_store64_lane.txt
new file mode 100644
index 00000000..1fd7a1aa
--- /dev/null
+++ b/test/wasm2c/spec/simd_store64_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_store64_lane.wast
+(;; STDOUT ;;;
+12/12 tests passed.
+;;; STDOUT ;;)
diff --git a/test/wasm2c/spec/simd_store8_lane.txt b/test/wasm2c/spec/simd_store8_lane.txt
new file mode 100644
index 00000000..ba6b1847
--- /dev/null
+++ b/test/wasm2c/spec/simd_store8_lane.txt
@@ -0,0 +1,5 @@
+;;; TOOL: run-spec-wasm2c
+;;; STDIN_FILE: third_party/testsuite/simd_store8_lane.wast
+(;; STDOUT ;;;
+48/48 tests passed.
+;;; STDOUT ;;)