• ivica.bogosavljevic's avatar
    MIPS64: Fix Word32Compare turbofan operator implementation when comparing... · 7499d92d
    ivica.bogosavljevic authored
    MIPS64: Fix Word32Compare turbofan operator implementation when comparing signed with unsigned operand
    
    MIPS64 doesn't support Word32 compare instructions. Instead it relies
    that the values in registers are correctly sign-extended and uses
    Word64 comparison instead. This behavior is correct in most cases,
    but doesn't work when comparing signed with unsigned operands.
    The solution proposed here tries to match a comparison of signed
    with unsigned operand, and perform Word32Compare simulation only
    in those cases. Unfortunately, the solution is not complete because
    it might skip cases where Word32 compare simulation is needed, so
    basically it is a hack.
    
    BUG=
    TEST=mjsunit/compiler/uint32
    
    Review-Url: https://codereview.chromium.org/2391393003
    Cr-Commit-Position: refs/heads/master@{#40398}
    7499d92d
Name
Last commit
Last update
..
base Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
wasm Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
counters-unittest.cc Loading commit data...
eh-frame-iterator-unittest.cc Loading commit data...
eh-frame-writer-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
register-configuration-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
source-position-table-unittest.cc Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unittests.gyp Loading commit data...
unittests.isolate Loading commit data...
unittests.status Loading commit data...
value-serializer-unittest.cc Loading commit data...