WebAssembly / spec

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

[spec] Fix typo in shape.all_true and txN.bitmask instruction execution #1710

Closed HoseongLee closed 7 months ago

HoseongLee commented 7 months ago

There seems to be some typos in shape.all_true instruction and txN.bitmask execution. The parameter is labeled as $c_1$, but the some of the ones used are just labeled $c$.

image

This pull request changes all the incorrect $c$ to $c_1$.

HoseongLee commented 7 months ago

I've changed all the c_1s to plain c for the above two instructions. However, the return value for txN.bitmask is also c, so I've changed it from c to i since it returns an i32.const.