diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/denan.txt | 44 | ||||
-rw-r--r-- | test/passes/denan.wast | 10 | ||||
-rw-r--r-- | test/passes/translate-to-fuzz_no-fuzz-nans_all-features.txt | 1342 | ||||
-rw-r--r-- | test/passes/translate-to-fuzz_no-fuzz-nans_all-features.wast | 99 |
4 files changed, 54 insertions, 1441 deletions
diff --git a/test/passes/denan.txt b/test/passes/denan.txt new file mode 100644 index 000000000..67f4989e4 --- /dev/null +++ b/test/passes/denan.txt @@ -0,0 +1,44 @@ +(module + (type $f32_=>_f32 (func (param f32) (result f32))) + (type $f64_=>_f64 (func (param f64) (result f64))) + (global $global$1 (mut f32) (f32.const 0)) + (global $global$2 (mut f32) (f32.const 12.34000015258789)) + (func $foo32 (param $x f32) (result f32) + (call $deNan32 + (call $foo32 + (call $deNan32 + (local.get $x) + ) + ) + ) + ) + (func $foo64 (param $x f64) (result f64) + (call $deNan64 + (call $foo64 + (call $deNan64 + (local.get $x) + ) + ) + ) + ) + (func $deNan32 (param $0 f32) (result f32) + (if (result f32) + (f32.eq + (local.get $0) + (local.get $0) + ) + (local.get $0) + (f32.const 0) + ) + ) + (func $deNan64 (param $0 f64) (result f64) + (if (result f64) + (f64.eq + (local.get $0) + (local.get $0) + ) + (local.get $0) + (f64.const 0) + ) + ) +) diff --git a/test/passes/denan.wast b/test/passes/denan.wast new file mode 100644 index 000000000..73c3c8f1c --- /dev/null +++ b/test/passes/denan.wast @@ -0,0 +1,10 @@ +(module + (global $global$1 (mut f32) (f32.const nan)) + (global $global$2 (mut f32) (f32.const 12.34)) + (func $foo32 (param $x f32) (result f32) + (call $foo32 (local.get $x)) + ) + (func $foo64 (param $x f64) (result f64) + (call $foo64 (local.get $x)) + ) +) diff --git a/test/passes/translate-to-fuzz_no-fuzz-nans_all-features.txt b/test/passes/translate-to-fuzz_no-fuzz-nans_all-features.txt deleted file mode 100644 index d024a75ed..000000000 --- a/test/passes/translate-to-fuzz_no-fuzz-nans_all-features.txt +++ /dev/null @@ -1,1342 +0,0 @@ -(module - (type $none_=>_none (func)) - (type $i64_=>_none (func (param i64))) - (type $i32_=>_none (func (param i32))) - (type $f32_=>_none (func (param f32))) - (type $f64_=>_none (func (param f64))) - (type $v128_=>_none (func (param v128))) - (type $nullref_=>_none (func (param nullref))) - (type $exnref_=>_none (func (param exnref))) - (type $none_=>_i32 (func (result i32))) - (type $f32_=>_f32 (func (param f32) (result f32))) - (type $f64_=>_f64 (func (param f64) (result f64))) - (type $none_=>_anyref (func (result anyref))) - (import "fuzzing-support" "log-i32" (func $log-i32 (param i32))) - (import "fuzzing-support" "log-i64" (func $log-i64 (param i64))) - (import "fuzzing-support" "log-f32" (func $log-f32 (param f32))) - (import "fuzzing-support" "log-f64" (func $log-f64 (param f64))) - (import "fuzzing-support" "log-v128" (func $log-v128 (param v128))) - (import "fuzzing-support" "log-nullref" (func $log-nullref (param nullref))) - (import "fuzzing-support" "log-exnref" (func $log-exnref (param exnref))) - (memory $0 (shared 1 1)) - (data (i32.const 0) "N\0fN\f5\f9\b1\ff\fa\eb\e5\fe\a7\ec\fb\fc\f4\a6\e4\ea\f0\ae\e3") - (table $0 0 funcref) - (global $global$5 (mut f32) (f32.const 74)) - (global $global$4 (mut nullref) (ref.null)) - (global $global$3 (mut i32) (i32.const 1263230471)) - (global $global$2 (mut i32) (i32.const -131072)) - (global $global$1 (mut (i64 f64 exnref)) (tuple.make - (i64.const 4294967295) - (f64.const 0) - (ref.null) - )) - (global $hangLimit (mut i32) (i32.const 10)) - (event $event$0 (attr 0) (param i64)) - (event $event$1 (attr 0) (param)) - (export "hashMemory" (func $hashMemory)) - (export "memory" (memory $0)) - (export "hangLimitInitializer" (func $hangLimitInitializer)) - (func $hashMemory (result i32) - (local $0 i32) - (local.set $0 - (i32.const 5381) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=1 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=2 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=3 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=4 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=5 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=6 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=7 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=8 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=9 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=10 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=11 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=12 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=13 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=14 - (i32.const 0) - ) - ) - ) - (local.set $0 - (i32.xor - (i32.add - (i32.shl - (local.get $0) - (i32.const 5) - ) - (local.get $0) - ) - (i32.load8_u offset=15 - (i32.const 0) - ) - ) - ) - (local.get $0) - ) - (func $func_8 (result anyref) - (local $0 i64) - (local $1 exnref) - (local $2 nullref) - (local $3 i32) - (local $4 anyref) - (local $5 nullref) - (local $6 f32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block $label$0 (result anyref) - (loop $label$1 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block - (block $label$2 - (atomic.fence) - (f64.store offset=3 align=2 - (i32.and - (i32.const 521278814) - (block $label$9 (result i32) - (drop - (tuple.make - (f32.const -16777216) - (ref.null) - (ref.null) - ) - ) - (i32.gt_u - (block $label$12 (result i32) - (if - (local.get $3) - (nop) - (nop) - ) - (local.get $3) - ) - (local.tee $3 - (ref.is_null - (loop $label$13 (result anyref) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (local.tee $4 - (loop $label$14 (result anyref) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (local.get $4) - ) - ) - ) - ) - ) - ) - ) - ) - (f64.const 2.0368363672810022e-260) - ) - ) - (br_if $label$1 - (loop $label$3 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block $label$4 - (block $label$5 - (nop) - (drop - (global.get $global$5) - ) - (br_if $label$3 - (i32.eqz - (if (result i32) - (i32.eqz - (if (result i32) - (i32.eqz - (if (result i32) - (i32.eqz - (select - (block $label$7 (result i32) - (nop) - (local.tee $3 - (block $label$8 (result i32) - (nop) - (local.get $3) - ) - ) - ) - (local.get $3) - (block $label$6 - (return - (local.get $4) - ) - ) - ) - ) - (i32.const -95) - (select - (loop $label$25 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block (result i32) - (block $label$26 - (block $label$27 - (local.set $4 - (local.get $4) - ) - (call $log-i64 - (select - (local.tee $0 - (i64.atomic.load32_u offset=22 - (i32.and - (i32.const -4) - (i32.const 15) - ) - ) - ) - (i64.extend_i32_s - (i32.load16_u offset=22 - (i32.and - (i32.extend8_s - (global.get $global$2) - ) - (i32.const 15) - ) - ) - ) - (i32.atomic.load - (i32.and - (loop $label$28 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block (result i32) - (block $label$29 - (block $label$30 - (memory.copy - (i32.and - (local.tee $3 - (i64.le_s - (select - (local.get $0) - (i64.const 2147483647) - (local.get $3) - ) - (i64.const 29050) - ) - ) - (i32.const 15) - ) - (i32.and - (local.get $3) - (i32.const 15) - ) - (global.get $global$3) - ) - ) - (f64.store offset=22 align=2 - (i32.and - (i32.const -65535) - (i32.const 15) - ) - (block $label$31 (result f64) - (if - (block $label$32 - (nop) - (br $label$29) - ) - (i64.atomic.store32 offset=4 - (i32.const 1291) - (block $label$33 - (local.set $3 - (i32.const 122572612) - ) - (br $label$27) - ) - ) - (block $label$34 - (atomic.fence) - ) - ) - (f64.load offset=2 align=1 - (i32.and - (local.get $3) - (i32.const 15) - ) - ) - ) - ) - ) - (br_if $label$28 - (i32.const -59) - ) - (local.get $3) - ) - ) - (i32.const 15) - ) - ) - ) - ) - ) - (loop $label$43 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block - (br_if $label$25 - (i32.eqz - (if (result i32) - (i32.eqz - (atomic.notify offset=22 - (i32.and - (ref.is_null - (ref.func $log-f32) - ) - (i32.const 15) - ) - (local.tee $3 - (local.get $3) - ) - ) - ) - (block $label$44 - (nop) - (br $label$26) - ) - (block $label$45 (result i32) - (loop $label$46 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block $label$47 - (local.set $5 - (block $label$48 (result nullref) - (i64.atomic.store32 offset=4 - (i32.and - (global.get $global$2) - (i32.const 15) - ) - (local.tee $0 - (i64.const -95) - ) - ) - (ref.null) - ) - ) - (call $log-nullref - (block $label$49 - (loop $label$50 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block - (br_if $label$50 - (i32.eqz - (global.get $global$3) - ) - ) - (br_if $label$50 - (i32.eqz - (local.get $3) - ) - ) - (br_if $label$26 - (i32.eqz - (if (result i32) - (i32.eqz - (local.get $3) - ) - (i32.const -2147483648) - (i32.const 1783516750) - ) - ) - ) - ) - ) - (br $label$46) - ) - ) - ) - ) - (loop $label$51 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block (result i32) - (if - (local.get $3) - (loop $label$52 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block $label$53 - (loop $label$54 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block - (v128.store offset=4 align=4 - (local.get $3) - (v128.const i32x4 0x00000045 0x00000000 0x170e0b00 0x00000000) - ) - (br_if $label$54 - (i32.eqz - (select - (i32.const -1024) - (local.get $3) - (i32.const -69) - ) - ) - ) - (block $label$55 - (if - (global.get $global$3) - (loop $label$56 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block - (nop) - (br_if $label$56 - (i32.const 20266) - ) - (br_if $label$25 - (i32.eqz - (ref.is_null - (ref.null) - ) - ) - ) - ) - ) - (nop) - ) - (local.set $3 - (i32.le_s - (local.get $3) - (loop $label$57 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (local.get $3) - ) - ) - ) - ) - ) - ) - (local.set $3 - (block $label$58 (result i32) - (nop) - (local.get $3) - ) - ) - ) - ) - (block $label$59 - (nop) - (if - (i32.eqz - (loop $label$60 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block $label$61 - (local.set $1 - (local.get $1) - ) - (br $label$51) - ) - ) - ) - (loop $label$62 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (loop $label$63 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block - (drop - (ref.null) - ) - (br_if $label$63 - (i32.eqz - (local.get $3) - ) - ) - (if - (i32.eqz - (loop $label$64 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (local.get $3) - ) - ) - (i64.store8 offset=3 - (i32.and - (local.tee $3 - (local.get $3) - ) - (i32.const 15) - ) - (i64.const 4920830541588677956) - ) - (local.set $4 - (local.tee $4 - (local.get $4) - ) - ) - ) - ) - ) - ) - (local.set $3 - (if (result i32) - (i32.eqz - (if (result i32) - (i32.eqz - (local.get $3) - ) - (i32.const -262144) - (br_if $label$45 - (local.get $3) - (i32.const -126) - ) - ) - ) - (if (result i32) - (local.get $3) - (i32.const -4096) - (local.get $3) - ) - (local.get $3) - ) - ) - ) - ) - ) - (br_if $label$51 - (i32.eqz - (if (result i32) - (i32.eqz - (i8x16.extract_lane_u 6 - (if (result v128) - (i32.const 32767) - (if (result v128) - (local.get $3) - (i64x2.splat - (loop $label$65 (result i64) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (i64.const 126) - ) - ) - (v128.const i32x4 0x0100007a 0x1d4cba00 0x00002000 0x00001200) - ) - (block $label$66 - (if - (i32.eqz - (if (result i32) - (i32.eqz - (block $label$67 - (local.set $4 - (ref.null) - ) - (br $label$26) - ) - ) - (local.get $3) - (i32.const 4096) - ) - ) - (nop) - (i64.atomic.store8 offset=4 - (i32.and - (global.get $global$2) - (i32.const 15) - ) - (i64.const -128) - ) - ) - (br $label$51) - ) - ) - ) - ) - (block $label$68 - (nop) - (br $label$51) - ) - (block $label$69 (result i32) - (nop) - (br_if $label$69 - (ref.is_null - (local.tee $4 - (ref.null) - ) - ) - (i32.eqz - (i32.eqz - (local.get $3) - ) - ) - ) - ) - ) - ) - ) - (local.get $3) - ) - ) - ) - ) - ) - ) - (br_if $label$43 - (i32.eqz - (if (result i32) - (i32.eqz - (local.tee $3 - (i16x8.extract_lane_s 6 - (v8x16.shuffle 8 11 19 17 15 16 14 19 17 15 16 14 19 17 15 16 - (loop $label$70 (result v128) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block (result v128) - (block $label$71 - (memory.fill - (i32.and - (if (result i32) - (local.get $3) - (local.get $3) - (local.get $3) - ) - (i32.const 15) - ) - (i32.and - (i32.const 72) - (i32.const 15) - ) - (if (result i32) - (loop $label$72 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (atomic.notify offset=22 - (i32.and - (i32.const 168631327) - (i32.const 15) - ) - (local.get $3) - ) - ) - (i32.const 102434061) - (local.get $3) - ) - ) - (block $label$73 - (i64.store offset=22 align=4 - (i32.and - (local.get $3) - (i32.const 15) - ) - (local.get $0) - ) - (if - (local.get $3) - (local.set $6 - (f32.const 15197) - ) - (nop) - ) - ) - ) - (br_if $label$70 - (f64.gt - (if (result f64) - (select - (local.get $3) - (i32.const -2147483648) - (i32.const 52367877) - ) - (f64.const -18446744073709551615) - (f64.const 2.0587249864648059e-168) - ) - (f64.const 9.399829295721398e-187) - ) - ) - (v128.const i32x4 0x3423505b 0xffffffff 0x0203e000 0xffff1717) - ) - ) - (v128.const i32x4 0xa0358001 0x5337017f 0xff005bb3 0xffa80100) - ) - ) - ) - ) - (block $label$75 (result i32) - (local.get $3) - ) - (block $label$76 (result i32) - (local.get $3) - ) - ) - ) - ) - (nop) - ) - ) - ) - (br_if $label$25 - (i32.const -4) - ) - (i32.const 127) - ) - ) - (local.get $3) - (i32.load16_u offset=22 align=1 - (i32.and - (i64.ge_s - (local.tee $0 - (local.tee $0 - (local.get $0) - ) - ) - (local.get $0) - ) - (i32.const 15) - ) - ) - ) - ) - ) - (if (result i32) - (i32.eqz - (local.tee $3 - (i32.const -96) - ) - ) - (i64x2.all_true - (f32x4.splat - (call $deNan32 - (f32.convert_i64_u - (i64.const 1394725084389383962) - ) - ) - ) - ) - (loop $label$18 (result i32) - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (local.get $4) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (block (result i32) - (block $label$19 - (loop $label$20 - (block - (if - (i32.eqz - (global.get $hangLimit) - ) - (return - (ref.null) - ) - ) - (global.set $hangLimit - (i32.sub - (global.get $hangLimit) - (i32.const 1) - ) - ) - ) - (nop) - ) - (br_if $label$19 - (i32.eqz - (local.get $3) - ) - ) - ) - (br_if $label$18 - (i32.eqz - (i32.atomic.load offset=3 - (local.get $3) - ) - ) - ) - (local.get $3) - ) - ) - ) - (block $label$21 - (br $label$1) - ) - ) - ) - (local.get $3) - (block $label$22 - (v128.store offset=4 - (i32.and - (i32.and - (global.get $global$3) - (i32.const 15) - ) - (i32.const 15) - ) - (i8x16.narrow_i16x8_u - (if (result v128) - (i32.eqz - (block $label$23 (result i32) - (i32.const -129) - ) - ) - (block $label$24 - (br $label$3) - ) - (v128.const i32x4 0xffffc000 0xffffffe0 0x00007fff 0x737f197a) - ) - (v128.const i32x4 0x10000000 0x00000000 0x00000080 0x00000000) - ) - ) - (br $label$1) - ) - ) - ) - ) - ) - (return - (local.get $4) - ) - ) - ) - ) - (nop) - ) - ) - (nop) - (local.get $4) - ) - ) - (func $hangLimitInitializer - (global.set $hangLimit - (i32.const 10) - ) - ) - (func $deNan32 (param $0 f32) (result f32) - (if (result f32) - (f32.eq - (local.get $0) - (local.get $0) - ) - (local.get $0) - (f32.const 0) - ) - ) - (func $deNan64 (param $0 f64) (result f64) - (if (result f64) - (f64.eq - (local.get $0) - (local.get $0) - ) - (local.get $0) - (f64.const 0) - ) - ) -) diff --git a/test/passes/translate-to-fuzz_no-fuzz-nans_all-features.wast b/test/passes/translate-to-fuzz_no-fuzz-nans_all-features.wast deleted file mode 100644 index 3dab8874e..000000000 --- a/test/passes/translate-to-fuzz_no-fuzz-nans_all-features.wast +++ /dev/null @@ -1,99 +0,0 @@ -(module # fake module here, for test harness, but it is really not needed -.. -any -3INPUT -h e r e -*will* -d0 -0.753538467597066 -2.2339337309978227 -................. -lorem ipsum whatever - -through the darkness of future past -the magician longs to see -one [chants|chance] out between two worlds -fire, walk with me - - -h e r e -*will* -d0 -0.753538467597066 -2.2339337309978227 -................. -lorem ipsum whatever - -through the darkness of future past -the magician longs to see -one [chants|chance] out between two worlds -fire, walk with me - - -(&!*^@$*&@!^*&@#^$*&@#$*&@#$^*&@^#$)(&)(!&$(*&^@&#*$ - -MOAR testing09237861235980723894570389yfskdjhgfm13jo847rtnjcsjjdhfgnc12o387456vb1p98364vlaisutfvlKUYASDOV*&Q@$%VOUAYFROVLUKSYDFP(*A^*&%DFASF________ -<>?><?><?><>?>>?<>??><A?S>D<?A>S<D?><G?S><DG?S><G - -2.2339337309978227 -................. -lorem ipsum whatever - -through the darkness of future past -the magician longs to see -one [chants|chance] out between two worlds -fire, walk with me - - -(&!*^@$*&@!^*&@#^$*&@#$*&@#$^*&@^#$)(&)(!&$(*&^@&#*$ - -MOAR testing09237861235980723894570389yfskdjhgfm13jo847rtnjcsjjdhfgnc12o387456vb1p98364vlaisutfvlKUYASDOV*&Q@$%VOUAYFROVLUKSYDFP(*A^*&%DFASF________ -<>?><?><?><>?>>?<>??><A?S>D<?A>S<D?><G?S><DG?S><G - -INPUT -h e r e -*will* -d0 -0.753538467597066 -2.2339337309978227 -................. -lorem ipsum whatever - -through the darkness of future past -the magician longs to see -one [chants|chance] out between two worlds -fire, walk with me - - -h e r e -*will* -d0 -0.753538467597066 -2.2339337309978227 -................. -lorem ipsum whatever - -through the darkness of future past -the magician longs to see -one [chants|chance] out between two worlds -fire, walk with me - - -(&!*^@$*&@!^*&@#^$*&@#$*&@#$^*&@^#$)(&)(!&$(*&^@&#*$ - -MOAR testing09237861235980723894570389yfskdjhgfm13jo847rtnjcsjjdhfgnc12o387456vb1p98364vlaisutfvlKUYASDOV*&Q@$%VOUAYFROVLUKSYDFP(*A^*&%DFASF________ -<>?><?><?><>?>>?<>??><A?S>D<?A>S<D?><G?S><DG?S><G - -2.2339337309978227 -................. -lorem ipsum whatever - -through the darkness of future past -the magician longs to see -one [chants|chance] out between two worlds -fire, walk with me - - -(&!*^@$*&@!^*&@#^$*&@#$*&@#$^*&@^#$)(&)(!&$(*&^@&#*$ - -) # this isn't really needed either |