Structure layout optimizations
Abstract
More effective compiler optimizations provide improved cache utilization. The compiler optimizations include a structure layout optimization that leaves the physical layout of the structure fields intact and instead changes the access order to these fields. The compiler optimizations apply to arrays using array remappings analogous to structure layout optimizations in which the array is considered as a structure and the physical layout of the array remains intact and instead the access order to the array changes.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for compiling source code comprising: in a compiler, identifying a structure array, having a plurality of array elements, each array element being a structure with a plurality of fields; and performing structure instance interleaving on the structure array by permuting access to the fields of the structure without altering a physical layout of the structure array; and generating compiled code including the permuted access to fields of the structure; wherein generating the compiled code including the permuted access includes, creating internal pointers in the compiler to track m locati
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Chakrabarti, Gautam and Chow, Fred, "Structure Layout Optimizations in the Open64 Compiler: Design, Implementation and Measurements," Proceedings of the Open64 Workshop, International Symposium on Code Generation and Optimization, Boston, 2008, 11 pages.
- Hagog, M. and Tice, C., "Cache Aware Data Layout Reorganization Optimization in GCC," Proceedings of the GCC Developers Summit, Jun. 22-24, 2005, pp. 69-92.
- Hundt, R., et al., "Practical Structure Layout Optimization and Advice," Proceedings of the International Symposium on Code Generation and Optimization, New York, 2006, 12 pages.
- Jin Lin and Pen-Chung Yew. 2010. A compiler framework for general memory layout optimizations targeting structures. In Proceedings of the 2010 Workshop on Interaction between Compilers and Computer Architecture (Interact-14). ACM, New York, NY, USA, Article 5 , 8 pages. D0I=10.1145/1739025.1739033.
- M. Hagog and C. Tice. "Cache aware data layout reorganization and optimization in GCC" 2005 in GCC Summit Proceedings, obtained on Dec. 11, 2013 from .