Processing method for calling subprogram of microprocessor, and device for same
A microprocessor and subroutine technology, applied in machine execution devices, concurrent instruction execution, etc., can solve problems such as poor flexibility, lower processor performance, and redundant instruction codes, and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The present invention adds an unsigned immediate number to the subroutine calling type jump instruction coding, which is used to calculate the total number of instructions in the delay slot, and realizes that the number of execution packets in the delay slot can be flexibly allocated according to the scheduling situation of the delay slot instructions.
[0034] figure 1 The subroutine with immediate parameters in the prior art calls a jump-like instruction encoding structure. As shown in the figure, the instruction encoding bit length is L ist bit, the length of the instruction identification bit is a bit, the length of the parallel bit is b bit, and the remaining immediate number immn=L inst -a-b bits, used to calculate the transfer address. The immediate number immn represents the jump offset, and the calculation of the jump target address FPC is obtained by formula 4.
[0035] Formula 4: FPC=PC call_package_end +immn*(L inst / Step)
[0036]Correspondingly, whil...
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