Cache optimization method based on RISC processor constant pool layout analysis and integration
A layout analysis and optimization method technology, applied in the direction of electrical digital data processing, instruments, resource allocation, etc., can solve the problems of reducing the cache hit rate, RISC processor performance impact, etc., to reduce the number of cache invalid data and improve the hit rate , the effect of distribution concentration
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] see Figure 1-Figure 8 , this implementation provides a Cache optimization method based on RISC processor constant pool layout analysis and integration, which specifically includes the following steps:
[0044] Step A: using a corresponding compilation tool to obtain an output file in ELF format as the input of the constant pool layout analysis method.
[0045] Step B: Analyze the layout of the constant pool in the program according to the characteristics of the constant pool, specifically including the following steps:
[0046] Step B1: Input the ELF file format obtained in step A, traverse the code segment of the ELF file, find all LDR instructions addressing constants according to the format of LDR instructions addressing constants, and obtain the address and content of LDR instructions.
[0047] Specifically, taking the 32-bit ARM instruction as an example, firstly, by parsing the file in ELF format, find the code segment (.text) of the file, and then traverse the da...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


