| 1 |
(module |
| 2 |
(type (;0;) (func (result v128))) |
| 3 |
(memory (;0;) 1) |
| 4 |
(export "v128_unaligned_read_and_write" (func 0)) |
| 5 |
(export "v128_aligned_read_and_write" (func 1)) |
| 6 |
(export "v128_aligned_read_and_unaligned_write" (func 2)) |
| 7 |
(export "v128_unaligned_read_and_aligned_write" (func 3)) |
| 8 |
(func (;0;) (type 0) (result v128) |
| 9 |
(local v128) |
| 10 |
i32.const 0 |
| 11 |
v128.const i32x4 0x03020100 0x07060504 0x0b0a0908 0x0f0e0d0c |
| 12 |
v128.store |
| 13 |
i32.const 0 |
| 14 |
v128.load |
| 15 |
) |
| 16 |
(func (;1;) (type 0) (result v128) |
| 17 |
(local v128) |
| 18 |
i32.const 0 |
| 19 |
v128.const i32x4 0x00010000 0x00030002 0x00050004 0x00070006 |
| 20 |
v128.store align=2 |
| 21 |
i32.const 0 |
| 22 |
v128.load align=2 |
| 23 |
) |
| 24 |
(func (;2;) (type 0) (result v128) |
| 25 |
(local v128) |
| 26 |
i32.const 0 |
| 27 |
v128.const i32x4 0x00000000 0x00000001 0x00000002 0x00000003 |
| 28 |
v128.store |
| 29 |
i32.const 0 |
| 30 |
v128.load align=2 |
| 31 |
) |
| 32 |
(func (;3;) (type 0) (result v128) |
| 33 |
(local v128) |
| 34 |
i32.const 0 |
| 35 |
v128.const i32x4 0x00000000 0x00000001 0x00000002 0x00000003 |
| 36 |
v128.store align=2 |
| 37 |
i32.const 0 |
| 38 |
v128.load |
| 39 |
) |
| 40 |
) |