WebAssembly/sign-extension-ops

Where is i16.extend8_s

lygstate opened this issue · 3 comments

Where is i16.extend8_s
binji commented

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.

binji commented

16-bit floating point support is mentioned as a future feature here. 16-bit integer value types are less useful, in my opinion.