Test WebAssembly floating point constants.
f64.const does not yet work on 32-bit Intel.
This commit is contained in:
@@ -9,7 +9,11 @@ isa intel haswell
|
||||
|
||||
; Constants.
|
||||
|
||||
; function %f32_const() -> f32
|
||||
function %f32_const() -> f32 {
|
||||
ebb0:
|
||||
v1 = f32const 0x3.0
|
||||
return v1
|
||||
}
|
||||
|
||||
; Unary operations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user