DescriptionMIPS64: Fix corner case for Word64And(Word64Shr(val,0)) reduction
In instruction selector, in the reduction of Word64And(Word64Shr(val,0),
0xFFF...) to EXT instruction, the case where shift value is 0 and mask is
0xFFFFFFFFFFFFFFFF was not supported. We now generate NOP for this case
since no bit extraction is necessary.
We implement the same behavior for MIPS32 even though there are no tests
that are failing.
TEST=cctest/test-run-machops/Regression5951
BUG=
Review-Url: https://codereview.chromium.org/2718433002
Cr-Commit-Position: refs/heads/master@{#43408}
Committed: https://chromium.googlesource.com/v8/v8/+/5b8f1f84a4316da06103fab2d970f05d14e45993
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|