|
|
[turbofan]: Elide extra move when accessing stack or frame register
Before this CL, the kFramePointer and kStackPointer IR instructions in turbo fan
moved the values of the frame and stack pointers into explicitly allocated
temporary registers. With this change, the instruction selector and code
generator now handle the stack and frame register specially, allowing them to be
directly used by generated code without an intermediate move.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+246 lines, -190 lines) |
Patch |
 |
M |
src/arm/frames-arm.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/arm/interface-descriptors-arm.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/arm64/frames-arm64.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/arm64/interface-descriptors-arm64.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/compiler/arm/code-generator-arm.cc
|
View
|
1
2
3
|
8 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
src/compiler/arm64/code-generator-arm64.cc
|
View
|
1
2
3
|
6 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
src/compiler/code-generator-impl.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/ia32/code-generator-ia32.cc
|
View
|
1
2
3
|
10 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
src/compiler/instruction.h
|
View
|
1
2
3
|
4 chunks |
+39 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/compiler/instruction.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/instruction-selector-impl.h
|
View
|
|
1 chunk |
+20 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/compiler/mips/code-generator-mips.cc
|
View
|
1
2
3
|
13 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
M |
src/compiler/mips64/code-generator-mips64.cc
|
View
|
1
2
3
|
16 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
 |
M |
src/compiler/register-allocator.cc
|
View
|
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/compiler/register-allocator-verifier.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/compiler/register-allocator-verifier.cc
|
View
|
|
4 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/compiler/x64/code-generator-x64.cc
|
View
|
1
2
3
|
19 chunks |
+40 lines, -39 lines |
0 comments
|
Download
|
 |
M |
src/compiler/x87/instruction-selector-x87.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
M |
src/frames.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/ia32/frames-ia32.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/ia32/interface-descriptors-ia32.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/interface-descriptors.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/mips/frames-mips.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/mips/interface-descriptors-mips.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/mips64/frames-mips64.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/mips64/interface-descriptors-mips64.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/ppc/interface-descriptors-ppc.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/x64/frames-x64.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/x64/interface-descriptors-x64.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/x87/interface-descriptors-x87.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
test/cctest/compiler/test-run-stubs.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|