diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-12-29 19:50:56 +0100 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-12-29 19:50:56 +0100 |
commit | 30a97274bde7a1988d80861ab9b381148f3d19a7 (patch) | |
tree | 101ce1aa9d9273de048a1f866f90cb22c151eed0 /tests/wasm_compile_arithm | |
parent | ec9a0f72c6b7d74c9a7e2d4eaef44e26037eaca2 (diff) | |
download | AGH-engineering-thesis-30a97274bde7a1988d80861ab9b381148f3d19a7.tar.gz AGH-engineering-thesis-30a97274bde7a1988d80861ab9b381148f3d19a7.zip |
fix align values
Diffstat (limited to 'tests/wasm_compile_arithm')
-rw-r--r-- | tests/wasm_compile_arithm/instructions.wat | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/wasm_compile_arithm/instructions.wat b/tests/wasm_compile_arithm/instructions.wat index a43a348..e20e6c0 100644 --- a/tests/wasm_compile_arithm/instructions.wat +++ b/tests/wasm_compile_arithm/instructions.wat @@ -2,15 +2,15 @@ (memory 0 2) (func $main ;; write 0xFFEFE021 at MEMORY_BOTTOM_ADDR + 0x0 - (i32.store offset=0x0 align=2 (i32.const 0x0) + (i32.store offset=0x0 align=4 (i32.const 0x0) (i32.sub (i32.const 0x42143) (i32.const 0x144122))) ;; write 0x16D3B7 at MEMORY_BOTTOM_ADDR + 0x4 - (i32.store offset=0x0 align=2 (i32.const 0x4) + (i32.store offset=0x0 align=4 (i32.const 0x4) (i32.add (i32.const 0x7109D) (i32.const 0xFC31A))) ;; write 0xED8 at MEMORY_BOTTOM_ADDR + 0x8 - (i32.store offset=0x0 align=2 (i32.const 0x8) + (i32.store offset=0x0 align=4 (i32.const 0x8) (i32.div_u (i32.const 0x193E324F) (i32.const 0x1B342))) ;; write 0x3C773E7C at MEMORY_BOTTOM_ADDR + 0xC - (i32.store offset=0x0 align=2 (i32.const 0xC) + (i32.store offset=0x0 align=4 (i32.const 0xC) (i32.mul (i32.const 0x38F2C) (i32.const 0x10FD)))) (export "main" (func $main))) |