[PATCH 083/188] adding tests for constant instructions

From f6a5d3f6b438958811cad0c943bdde53ced2fe2e Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Mon, 9 Mar 2020 11:09:58 -0400

git-svn-id: branches/wasm@46079 -
This commit is contained in:
nickysn 2020-08-03 13:00:14 +00:00
parent 4f7ba10fe1
commit dc4ceed0bb
9 changed files with 48 additions and 0 deletions

8
.gitattributes vendored
View File

@ -18982,6 +18982,14 @@ utils/wasmbin/testscan/asmsym1.wat svneol=native#text/plain
utils/wasmbin/testscan/asmsym2.wat svneol=native#text/plain
utils/wasmbin/testscan/asmsym3.wat svneol=native#text/plain
utils/wasmbin/testscan/import1.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_f32.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_f32_neg.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_f64.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_f64_neg.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_i32.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_i32_neg.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_i64.wat svneol=native#text/plain
utils/wasmbin/testscan/inst_const_i64_neg.wat svneol=native#text/plain
utils/wasmbin/wasmbin.pas svneol=native#text/plain
utils/wasmbin/wasmbincode.pas svneol=native#text/plain
utils/wasmbin/wasmbindebug.pas svneol=native#text/plain

View File

@ -0,0 +1,5 @@
(module
(func $add (result f32)
f32.const 13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result f32)
f32.const -13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result f64)
f64.const 13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result f64)
f64.const -13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result i32)
i32.const 13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result i32)
i32.const -13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result i64)
i64.const 13
)
)

View File

@ -0,0 +1,5 @@
(module
(func $add (result i64)
i64.const -13
)
)