Indirect unconditional branches in data processing system emulation mode
Abstract
A processor and method of operating a processor which has a native instruction set and emulates guest instructions within a guest instruction set are described. According to the method, a series of guest instructions including at least one unconditional indirect guest branch instruction is stored in memory. In addition, one or more semantic routines that are formed of native instructions and that may be utilized to emulate the series of guest instructions are stored in memory. For each guest instruction in the series of guest instructions, an entry is stored in a multiple-entry queue in order of receipt. The entry includes an indication of a location in memory of at least one semantic routine. In response to the entries in the multiple-entry queue, the series of guest instructions are emulated in the processor by using the entries to access and execute selected ones of the one or more semantic routines. The semantic routine utilized to emulate a first type of unconditional indirect guest branch instruction calculates a speculative return address, temporarily stores the speculative return address in memory, and initiates fetching at a target address. The semantic routine utilized to
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 71.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of operating a processor which has a native instruction set and emulates guest instructions within a guest instruction set, said method comprising: storing, in memory, a series of guest instructions including at least one unconditional indirect guest branch instruction; storing in memory one or more semantic routines of native instructions in said native instruction set that can be utilized to emulate said series of guest instructions; for each guest instruction in said series of guest instructions, storing in a multiple-entry queue, in order of receipt of said guest instructions,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗