• chunyang.dai's avatar
    X87: Return different allocatable double register number for X87 turbofan / crankshaft seperately. · 4fe366f1
    chunyang.dai authored
       Currently X87 turbofan backend use only one double register. But crankshaft needs to use more than 1
       double register. The reason is that the X87 register is stack-based and the register allocator use
       the same algorithm for all registers. So the backend of X87 needs to maintain the X87 stack status
       between basic blocks during code generation. But for Turbofan backend, it can only handle discrete
       platform-related LIRs. It's difficult to maintain the x87 stack status during different basic blocks.
       So we use the register configuration selection mechanism to return different register configuration
       for X87 turbofan and crankshaft seperately.
    
       This CL is a follow-up of https://codereview.chromium.org/1405673003/.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1413343002
    
    Cr-Commit-Position: refs/heads/master@{#31492}
    4fe366f1
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...