sign-extension-ops
sign-extension-ops copied to clipboard
Where is i16.extend8_s
trafficstars
WebAssembly doesn't have an i16 value type, so that instruction wouldn't be useful. Instead, you can use i32.extend8_s followed by i32.store16 to write a 16-bit value to linear memory.
gocha waht's happened. I do think at least webassembly need have i16 & fp16 support. i8 suppot seems not necessary.
16-bit floating point support is mentioned as a future feature here. 16-bit integer value types are less useful, in my opinion.