Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specification/wasm-2.0/8-reduction.spectec
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ rule Step/vstore-val:

rule Step/vstore_lane-oob:
z; (CONST I32 i) (VCONST V128 c) (VSTORE_LANE V128 N ao j) ~> z; TRAP
-- if $(i + ao.OFFSET + N) > |$mem(z, 0).BYTES|
-- if $(i + ao.OFFSET + N/8) > |$mem(z, 0).BYTES|

rule Step/vstore_lane-val:
z; (CONST I32 i) (VCONST V128 c) (VSTORE_LANE V128 N ao j) ~> $with_mem(z, 0, $(i + ao.OFFSET), $(N/8), b*); eps
Expand Down
2 changes: 1 addition & 1 deletion specification/wasm-3.0/4.3-execution.instructions.spectec
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ rule Step/vstore-val:
rule Step/vstore_lane-oob:
z; (CONST at i) (VCONST V128 c) (VSTORE_LANE V128 N x ao j) ~> z; TRAP
----
-- if $(i + ao.OFFSET + N) > |$mem(z, x).BYTES|
-- if $(i + ao.OFFSET + N/8) > |$mem(z, x).BYTES|

rule Step/vstore_lane-val:
z; (CONST at i) (VCONST V128 c) (VSTORE_LANE V128 N x ao j) ~> $with_mem(z, x, $(i + ao.OFFSET), $(N/8), b*); eps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ rule Step/vstore-val:
rule Step/vstore_lane-oob:
z; (CONST at i) (VCONST V128 c) (VSTORE_LANE V128 N x ao j) ~> z; TRAP
----
-- if $(i + ao.OFFSET + N) > |$mem(z, x).BYTES|
-- if $(i + ao.OFFSET + N/8) > |$mem(z, x).BYTES|

rule Step/vstore_lane-val:
z; (CONST at i) (VCONST V128 c) (VSTORE_LANE V128 N x ao j) ~> $with_mem(z, x, $(i + ao.OFFSET), $(N/8), b*); eps
Expand Down
Loading