A Register Allocation Method Based on Area Priority
A register allocation and priority technology, applied in the direction of machine execution devices, etc., can solve problems such as high time pressure and inapplicability of real-time compilers, and achieve the effect of avoiding time and space consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0047] The register allocation method based on region priority consists of the following steps:
[0048] Step 1: Transform the register allocation problem into a kind of matrix filling;
[0049] Step 2: Design a greedy filling method, and use this greedy filling method to fill an empty matrix into a non-empty matrix that meets the requirements; the greediness of this greedy filling method exists in dividing the loop area and building length priority In the process of queuing in level queue and overflow weight priority;
[0050] Step 3: Realize register allocation according to the filling in step 2.
[0051] When carrying out the work of described step 1, at first define following noun:
[0052] Instruction number: Instruction number x refers to the number of each instruction in the program segment (1≤x≤N, N represents the last instruction number of the program); the order of instructions in the basic block is fixed, and the order of instructions between basic blocks is arbi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap