• zhengxing.li's avatar
    X87: [turbofan] Added the optional Float64RoundTiesEven operator to turbofan. · a0134a6d
    zhengxing.li authored
      port dffecf31 (r32005)
    
      original commit message:
      The TiesEven rounding mode rounds float64 numbers to the nearest
      integer. If there are two nearest integers, then the number is rounded
      to the even one.  This is the default rounding mode according to
      IEEE~754.
    
      I implemented the operator on ia32, x64, arm, arm64, mips, and mips64.
    
      I think there is a bug in the current implementation of the ppc
      simulator, which kept me from implementing the operator on ppc.
      According to my understanding of the ppc instruction manual, the FRIN
      instruction provides the right behavior for Float64RoundTiesEven. In the
      simulator, however, FRIN provides a different semantics. If there are
      two nearest integers, then the simulator returns the one which is
      further away form 0.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1486323003
    
    Cr-Commit-Position: refs/heads/master@{#32490}
    a0134a6d
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
docs 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/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE 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...
Makefile.nacl 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...