diff options
Diffstat (limited to 'test/dot_s/store-trunc.wast')
-rw-r--r-- | test/dot_s/store-trunc.wast | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/dot_s/store-trunc.wast b/test/dot_s/store-trunc.wast new file mode 100644 index 000000000..75dd37636 --- /dev/null +++ b/test/dot_s/store-trunc.wast @@ -0,0 +1,69 @@ +(module + (memory 0 4294967295) + (func $trunc_i8_i32 (param $$0 i32) (param $$1 i32) + (block $fake_return_waka123 + (block + (i32.store align=8 + (get_local $$0) + (get_local $$1) + ) + (br $fake_return_waka123) + ) + ) + ) + (func $trunc_i16_i32 (param $$0 i32) (param $$1 i32) + (block $fake_return_waka123 + (block + (i32.store align=16 + (get_local $$0) + (get_local $$1) + ) + (br $fake_return_waka123) + ) + ) + ) + (func $trunc_i8_i64 (param $$0 i32) (param $$1 i64) + (block $fake_return_waka123 + (block + (i64.store align=8 + (get_local $$0) + (get_local $$1) + ) + (br $fake_return_waka123) + ) + ) + ) + (func $trunc_i16_i64 (param $$0 i32) (param $$1 i64) + (block $fake_return_waka123 + (block + (i64.store align=16 + (get_local $$0) + (get_local $$1) + ) + (br $fake_return_waka123) + ) + ) + ) + (func $trunc_i32_i64 (param $$0 i32) (param $$1 i64) + (block $fake_return_waka123 + (block + (i64.store align=32 + (get_local $$0) + (get_local $$1) + ) + (br $fake_return_waka123) + ) + ) + ) + (func $trunc_i8_i32_off (param $$0 i32) (param $$1 i32) + (block $fake_return_waka123 + (block + (i32.store align=8 offset=1234 + (get_local $$0) + (get_local $$1) + ) + (br $fake_return_waka123) + ) + ) + ) +) |