diff options
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 0760055bc..bb1147d16 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -17,10 +17,10 @@ (import "env" "return_int" (func $return_int (result i32))) (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64))) (import "env" "memory" (memory $0 256 256)) - (import "env" "table" (table 10 10 anyfunc)) + (import "env" "table" (table 24 24 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) - (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $big_negative $big_negative $importedDoubles $big_negative $big_negative $cneg) + (elem (i32.const 0) $big_negative $big_negative $big_negative $big_negative $w $w $importedDoubles $w $fr $cneg $fr $fr $fr $fr $fr $fr $vi $vi $vi $vi $vi $vi $vi $vi) (global $t (mut f64) (get_global $t$asm2wasm$import)) (global $u (mut f64) (get_global $u$asm2wasm$import)) (global $Int (mut i32) (i32.const 0)) @@ -256,8 +256,8 @@ (get_local $0) ) (i32.add - (i32.const 1) (i32.const 8) + (i32.const 1) ) ) ) @@ -265,8 +265,8 @@ (call_indirect $FUNCSIG$vf (get_local $0) (i32.add - (i32.const 1) (i32.const 8) + (i32.const 1) ) ) ) @@ -303,8 +303,8 @@ (call_indirect $FUNCSIG$vi (i32.const 1) (i32.add + (i32.const 16) (i32.const 1) - (i32.const 8) ) ) ) @@ -362,9 +362,7 @@ ) (drop (call $abort - (f64.promote/f32 - (f32.const 56.779998779296875) - ) + (f64.const 56.779998779296875) ) ) ) @@ -703,6 +701,9 @@ ) ) ) + (func $w (result f64) + (f64.const 0) + ) (func $globalOpts (local $0 i32) (i32.store8 @@ -1056,4 +1057,7 @@ ) ) ) + (func $vi (param $0 i32) + (nop) + ) ) |