Legalize fcvt_from_u/sint.f32/f64.i8/i16

This commit is contained in:
bjorn3
2018-09-30 16:18:23 +02:00
committed by Benjamin Bouvier
parent 91ec44acbf
commit 71a345e813
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
test compile
target x86_64
function u0:0(i16) -> f64 fast {
ebb0(v0: i16):
v1 = fcvt_from_uint.f64 v0
return v1
}
function u0:1(i16) -> f64 fast {
ebb0(v0: i16):
v1 = fcvt_from_sint.f64 v0
return v1
}