summaryrefslogtreecommitdiff
path: root/test/lit/exec/simd.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/exec/simd.wast')
-rw-r--r--test/lit/exec/simd.wast21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/lit/exec/simd.wast b/test/lit/exec/simd.wast
new file mode 100644
index 000000000..5ab6489a2
--- /dev/null
+++ b/test/lit/exec/simd.wast
@@ -0,0 +1,21 @@
+;; NOTE: Assertions have been generated by update_lit_checks.py --output=fuzz-exec and should not be edited.
+
+;; RUN: wasm-opt %s -all --fuzz-exec -q -o /dev/null 2>&1 | filecheck %s
+
+(module
+ (memory $0 i64 16 17 shared)
+
+ (data $0 (i64.const 0) "abcdefg")
+
+ ;; CHECK: [fuzz-exec] calling load8x8_s
+ ;; CHECK-NEXT: [fuzz-exec] note result: load8x8_s => i32x4 0x00620061 0x00640063 0x00660065 0x00000067
+ (func $load8x8_s (export "load8x8_s") (result v128)
+ (v128.load8x8_s align=2
+ (i64.const 0)
+ )
+ )
+)
+
+;; CHECK: [fuzz-exec] calling load8x8_s
+;; CHECK-NEXT: [fuzz-exec] note result: load8x8_s => i32x4 0x00620061 0x00640063 0x00660065 0x00000067
+;; CHECK-NEXT: [fuzz-exec] comparing load8x8_s