Register allocation method for optimizing stack space
A register allocation and register technology, applied in memory systems, instruments, program control design, etc., can solve problems such as increased pressure on stack registers, improve security issues, eliminate false interference edges, and reduce occupancy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The working steps of the stack analyzer are as follows: figure 1 Shown:
[0022] 1. The register allocator analyzes the data flow of the intermediate file of the program to obtain the data flow diagram
[0023] 2. Construct the interferogram of program variables according to the data flow graph. The definition of an interference graph is that if a variable is active while another variable is defined, then they are interfering. Interfering variables are represented in the interferogram by a line between two nodes
[0024] 3. Eliminate false interference edges in the interferogram, and analyze their inferred register intersection relations for two variables interfering in the interferogram. Because only when the inferred registers intersect, two variables may be interfering. For interfering variables whose inferred registers are disjoint, re...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com