Method for embedding short rare code sequences in hot code without branch-arounds
A technology for executing code, programs, applied in the field of encoding of instructions, which can solve the problem of increasing code and/or compiler complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] The following Intel A32 architecture code sequence is an example of code that includes small, uncommonly used code sequences in the hot path. Programmers / compilers must branch around uncommon code sequences most of the time:
[0014] add eax, ebx; add two numbers
[0015] jo L1; if an infrequent overflow occurs, branch to L1 for processing
[0016] -hot code-
[0017] jmp Ldone; branch bypasses infrequently used code
[0018] L1: or eax, 3
[0019] Ldone:
[0020] exist figure 1 An example of the above code and its accompanying limitations is given in . In particular, sequences of computer instructions are shown, each instruction having one or more fields. At the lowest end of the "computer instruction length" spectrum, only a single byte may be included. Other instructions have variable sizes. figure 1 with figure 2 Typical field sizes and numbers of fields are shown, but this is not meant to suggest that these are the only sizes and numbers covered by the s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
