Emulated branch effected by trampoline mechanism
Abstract
A computer system includes a processor for executing a program and an interruption handler from a memory. The processor includes an instruction pointer indicating a memory location of a current executing instruction. The processor executes a trampoline check instruction in the program which tests a condition and if the condition is true, causes an interruption and supplies an address displacement. The interruption handler responds to the interruption and restarts execution of the program at a restart point indicating a memory location of a special handler in the program. The restart point is a sum of the address displacement and a value of the instruction pointer at the time of the interruption. If the condition is false, normal control flow of the program is continued.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: memory storing a program, an interruption handler, and an interruption vector table, wherein the program has instructions including a trampoline check instruction and a special handler for handling an interruption, wherein the interruption vector table includes an interruption vector not shared with other interruptions for supplying information related to the interruption; and a processor for executing the program and the interruption handler, wherein the processor includes an instruction pointer indicating a memory location of a current executing instruction, an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 22 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- David M. Gallagher et al., "Dynamic Memory Disambiguation Using the Memory Conflict Buffer," ACM Press, ASPLOS VI Proceedings, pp. 183-193 (Oct. 1994).
- Pohua P. Chang et al., "Three Architectural Models for Compiler-Controlled Speculative Execution," IEEE Transactions on Computers, vol. 44, No. 4, pp. 481-494 (Apr. 1995).
- Scott A. Mahlke et al., "Sentinel Scheduling for VLIW and Superscalar Processors," ACM SIG Plan Notices, vol. 27, No. 9, pp 238-247 (Sep. 1992).
- Scott A. Mahlke et al., "Sentinel Scheduling: A Model for Compiler-Controlled Speculative Execution," ACM Transactions on Computer Systems, vol. 11, No. 4, pp. 376-408 (Nov. 1993).
- Tekkath et al., "Hardware and Software Support for Efficient Exception Handling," ASPLOS VI Proceedings, ACM, pp. 110-119, Oct. 4-7, 1994.*