Fix for issue 3327. Updates Bnot to handle case for NaN float

This commit is contained in:
Johnnie Birch
2021-11-11 17:33:50 -08:00
parent b530d283e4
commit 5d5629de60
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
(; See issue https://github.com/bytecodealliance/wasmtime/issues/3327 ;)
(module
(func $v128_not (export "v128_not") (result v128)
v128.const f32x4 0 0 0 0
f32x4.abs
v128.not)
)
(assert_return (invoke "v128_not") (v128.const i32x4 -1 -1 -1 -1))