Arranging binary code based on call graph partitioning
Abstract
Mechanisms are provided for arranging binary code to reduce instruction cache conflict misses. These mechanisms generate a call graph of a portion of code. Nodes and edges in the call graph are weighted to generate a weighted call graph. The weighted call graph is then partitioned according to the weights, affinities between nodes of the call graph, and the size of cache lines in an instruction cache of the data processing system, so that binary code associated with one or more subsets of nodes in the call graph are combined into individual cache lines based on the partitioning. The binary code corresponding to the partitioned call graph is then output for execution in a computing device.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, in a data processing system, for arranging binary code to reduce instruction cache conflict misses, comprising: generating, by a processor of the data processing system executing a compiler, a call graph of a portion of code; weighting, by the compiler, nodes and edges in the call graph to generate a weighted call graph; partitioning, by the compiler, the weighted call graph according to the weights, affinities between nodes of the call graph, and the size of cache lines in an instruction cache of the data processing system, so that binary code associated with one or more subsets of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Chen, Tong et al., "SPE Software Instruction Cache", U.S. Appl. No. 12/648,741, filed Dec. 29, 2009, 33 pages.
- Gilbert, John et al., "Adaptive Object Code Compression", CASES'06, Oct. 23-25, 2006, pp. 282-292.
- Hazelwood, Kim et al., "A Dynamic Binary Instrumentation Engine for the ARM Architecture", CASES'06, Oct. 23-25, 2006, pp. 261-270.
- Hu, Wei et al., "Secure and Practical Defense Against Code-injection Attacks using Software Dynamic Translation", VEE'06, Jun. 14-16, 2006, pp. 2-12.
- Huneycutt, Chad et al., "Software Caching using Dynamic Binary Rewriting for Embedded Devices", In Proceedings of the International Conference on Parallel Processing, 2001, 6 pages.