WebAssembly / spec

WebAssembly specification, reference interpreter, and test suite.
https://webassembly.github.io/spec/
Other
3.13k stars 445 forks source link

Fix copypaste error for V128.Load*_Zero instructions in index #1662

Closed rdunnington closed 1 year ago

rdunnington commented 1 year ago

The website instruction index contains a error for these two instructions:

It specifies both memarg and laneidx immediates, but in reality it isn't supposed to have a laneidx since the instructions assume they set the lowest bits of the vector. It is correct in the Structure/Instructions/Memory Instructions part of the spec.