Description[wasm] Do float constant folding if the origin is not wasm
I removed some constant folding optimizations for float instruction in
https://codereview.chromium.org/2647353007 because they were incorrect
if the input was a signalling NaN. Removing these optimizations, however
had an unexpectedly big impact on asm.js performance. With this CL I
restore the optimizations again when the source origin is not wasm. In
JavaScript signalling NaNs are not observable and therefore the
optimizations are correct.
R=titzer@chromium.org
BUG=chromium:686654
Review-Url: https://codereview.chromium.org/2666903002
Cr-Commit-Position: refs/heads/master@{#42850}
Committed: https://chromium.googlesource.com/v8/v8/+/3b2301650eba47706f50104ecd13517dbb20bc9f
Patch Set 1 #Patch Set 2 : I forgot to add the changes to cctests. #
Total comments: 1
Patch Set 3 : Rename flag #Patch Set 4 : Allow signalling NaNs by default #
Dependent Patchsets: Messages
Total messages: 26 (20 generated)
|