summaryrefslogtreecommitdiff
path: root/test/wasm2js/atomics_32.2asm.js
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2022-09-12 23:42:16 +0300
committerGitHub <noreply@github.com>2022-09-12 13:42:16 -0700
commitc7967d81d2d5ed06440044d45ad52158c40ee168 (patch)
treee788fb67bc87ca859845d6813aac4ba29af4af45 /test/wasm2js/atomics_32.2asm.js
parentaa36fc4f67cf38f097b4c2b4db53b718880f9c3a (diff)
downloadbinaryen-c7967d81d2d5ed06440044d45ad52158c40ee168.tar.gz
binaryen-c7967d81d2d5ed06440044d45ad52158c40ee168.tar.bz2
binaryen-c7967d81d2d5ed06440044d45ad52158c40ee168.zip
[OptimizeInstructions] Simplify floating point ops with NaN on right side (#4985)
x + nan -> nan' x - nan -> nan' x * nan -> nan' x / nan -> nan' min(x, nan) -> nan' max(x, nan) -> nan' where nan' is canonicalized nan of rhs x != nan -> 1 x == nan -> 0 x >= nan -> 0 x <= nan -> 0 x > nan -> 0 x < nan -> 0
Diffstat (limited to 'test/wasm2js/atomics_32.2asm.js')
0 files changed, 0 insertions, 0 deletions