summaryrefslogtreecommitdiff
path: root/test/dump/simd-basic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump/simd-basic.txt')
-rw-r--r--test/dump/simd-basic.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/dump/simd-basic.txt b/test/dump/simd-basic.txt
new file mode 100644
index 00000000..468e3880
--- /dev/null
+++ b/test/dump/simd-basic.txt
@@ -0,0 +1,18 @@
+;;; TOOL: run-objdump
+;;; ARGS0: --enable-simd
+
+(module
+ (func (export "main") (result v128)
+ v128.const i32 0x00000001 0x00000002 0x00000003 0x00000004
+ return))
+(;; STDOUT ;;;
+
+simd-basic.wasm: file format wasm 0x1
+
+Code Disassembly:
+
+000020 <main>:
+ 000023: fd 02 01 00 00 00 02 00 00 00 03 | v128.const 0x00000001 0x00000002 0x00000003 0x00000004
+ 000034: 0f | return
+ 000035: 0b | end
+;;; STDOUT ;;)