• 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
..
OWNERS Loading commit data...
assembler-ppc-inl.h Loading commit data...
assembler-ppc.cc Loading commit data...
assembler-ppc.h Loading commit data...
code-stubs-ppc.cc Loading commit data...
code-stubs-ppc.h Loading commit data...
codegen-ppc.cc Loading commit data...
codegen-ppc.h Loading commit data...
constants-ppc.cc Loading commit data...
constants-ppc.h Loading commit data...
cpu-ppc.cc Loading commit data...
deoptimizer-ppc.cc Loading commit data...
disasm-ppc.cc Loading commit data...
frames-ppc.cc Loading commit data...
frames-ppc.h Loading commit data...
interface-descriptors-ppc.cc Loading commit data...
macro-assembler-ppc.cc Loading commit data...
macro-assembler-ppc.h Loading commit data...
simulator-ppc.cc Loading commit data...
simulator-ppc.h Loading commit data...