DescriptionMIPS: Consistently use a separate Lithium instruction for flooring division.
Port r20395 (5b802048)
Original commit message:
Previously we tried to share some code on by a slightly confusing re-use
of LDivI for a (general) flooring division. Now we cleanly separate
concerns, just like for the rest of the division-like operations. Note
that ARM64 already did it this way.
If we really want to save some code, we can introduce some macro
assembler instructions and/or helper functions in the code generator in
a future CL, but we should really try to avoid being "clever" to save
just a few lines of trivial code. Effort != complexity. :-)
Renamed some related Lithium operands on the way for more consistency.
BUG=
R=plind44@gmail.com
Committed: https://code.google.com/p/v8/source/detail?r=20417
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|