Closed RoyalIcing closed 8 months ago
I intend to detect the type passed into the operands to avoid this issue: https://github.com/RoyalIcing/Orb/issues/17
wasm_mode
should be removed. We might still want a way to opt into a signed or unsigned integer mode somehow, since WebAssembly has both flavors.
With Orb v0.0.34 this has been fixed, by using the types of the passed values to determine what instructions to use.
Currently integers default to
I32
. We should either default toI64
or add some smart inference so the correct one is automatically used.