Tests:
(assert_return_canonical_nan (invoke "f32x4.add"
(v128.const f32x4 -0x0p+0 -0x0p+0 -0x0p+0 -0x0p+0)
(v128.const f32x4 –nan –nan –nan -nan)))
(assert_return_arithmetic_nan (invoke "f32x4.add"
(v128.const f32x4 -0x0p+0 -0x0p+0 -0x0p+0 -0x0p+0)
(v128.const f32x4 -nan:0x200000 -nan:0x200000 -nan:0x200000 -nan:0x200000)))
Errors:
f32x4_arith.wast:5:2: expected canonical float NaN but got v128.const i32x4 0xffc00000 0xffc00000 0xffc00000 0xffc00000
(assert_return_canonical_nan (invoke "f32x4.add"
(v128.const f32x4 -0x0p+0 -0x0p+0 -0x0p+0 -0x0p+0)
(v128.const f32x4 -nan -nan -nan -nan)))
^
f32x4_arith.wast:6:2: expected float NaN but got v128.const i32x4 0xffe00000 0xffe00000 0xffe00000 0xffe00000
(assert_return_arithmetic_nan (invoke "f32x4.add"
(v128.const f32x4 -0x0p+0 -0x0p+0 -0x0p+0 -0x0p+0)
(v128.const f32x4 -nan:0x200000 -nan:0x200000 -nan:0x200000 -nan:0x200000)))
^
Testing failed with 2 error(s)
@AndrewScheidecker, need your support. :)