Files
wasmtime/cranelift/filetests/isa/x86/uextend-i8-to-i16.clif
bjorn3 b2a28d69e6 Add encodings for i8 and i16 copy, spill, fill, ireduce.i8.i16 (#534)
* Add encodings for i8 and i16 copy, spill, fill, ireduce.i8.i16

Also adds legalization for srem, irsub_imm, {u,s}extend.i16.i8

Fixes #477 cc #466

* Legalize popcnt, clz and ctz for i8 and i16

* Fix bug in call_memset
2018-10-03 14:43:59 -07:00

15 lines
201 B
Plaintext

test compile
target x86_64
function u0:0(i8) -> i16 fast {
ebb0(v0: i8):
v1 = uextend.i16 v0
return v1
}
function u0:1(i8) -> i16 fast {
ebb0(v0: i8):
v1 = sextend.i16 v0
return v1
}