|
Consistently use a separate Lithium instruction for flooring division.
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.
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=20395
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+330 lines, -78 lines) |
Patch |
|
M |
src/arm/lithium-arm.h
|
View
|
|
4 chunks |
+25 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
1
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
|
4 chunks |
+76 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/arm64/lithium-arm64.h
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/arm64/lithium-codegen-arm64.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
|
3 chunks |
+57 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
|
4 chunks |
+25 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
1
|
3 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
|
3 chunks |
+57 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
1
|
4 chunks |
+25 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
1
|
3 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|