Description[Turbofan] Make the -0 deopt case more efficient in multiplication.
After multiplying two integers we emit code like:
if (result == 0) {
if (OR_OPERATION(rhs, lhs) < 0) {
DEOPT;
}
}
This CL allows us to eliminate the OR and comparison if either rhs or
lhs is a negative number, reducing the code to:
if (result == 0) DEOPT;
BUG=
Committed: https://crrev.com/0a36b5cd2c87a9827537bc91f0d0777efeb714fd
Cr-Commit-Position: refs/heads/master@{#38016}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Code comments. #Patch Set 3 : Fix nit. #
Messages
Total messages: 15 (8 generated)
|