|
|
Implement basic array prefetching hints in Hydrogen.
Insert prefetch instructions for those array element accesses (reads) with the
prefetch hints in IA32 Lithium code generator.
With this CL Kraken reports 60% improvement on audio-dft on Atom, where huge
amount of cache misses were observed before.
Currently the write accesses are not prefetched, just in order to isolate
the individual impacts.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+374 lines, -14 lines) |
Patch |
 |
|
src/hydrogen.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
src/hydrogen.cc
|
View
|
|
6 chunks |
+264 lines, -1 line |
0 comments
|
Download
|
 |
|
src/hydrogen-instructions.h
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
|
src/hydrogen-instructions.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
|
src/ia32/lithium-codegen-ia32.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
|
src/ia32/lithium-codegen-ia32.cc
|
View
|
|
4 chunks |
+53 lines, -7 lines |
0 comments
|
Download
|
 |
|
src/ia32/lithium-ia32.h
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
|
src/ia32/lithium-ia32.cc
|
View
|
|
4 chunks |
+31 lines, -2 lines |
0 comments
|
Download
|
 |
|
src/lithium-allocator-inl.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|