• Enrico Bacis's avatar
    [ppc] use Double instead of double in ppc compiler · 5457e8a9
    Enrico Bacis authored
    The use of double variables to store bit patterns may lead to bit flips
    when the stored bit pattern is a signaling NaN (sNaN). Operations on a
    sNaN variable (even just returning the variable from a function) may
    turn it into a quiet NaN (qNaN), flipping the signaling bit and
    affecting the information stored in the variable.
    
    We observed this behaviour on ia32 architectures and therefore in the
    simulator builds for other platforms. The use of the wrapper class
    Double should prevent this behaviour.
    
    R=ahaas@chromium.org
    
    Change-Id: Ibd1119924a59db771fd4c250689ad9c2a35fff75
    Reviewed-on: https://chromium-review.googlesource.com/562771Reviewed-by: 's avatarJaideep Bajwa <bjaideep@ca.ibm.com>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Enrico Bacis <enricobacis@google.com>
    Cr-Commit-Position: refs/heads/master@{#46533}
    5457e8a9
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...