Program translating apparatus and a processor which achieve high-speed execution of subroutine branch instructions
Abstract
A program translating apparatus is composed of a translation unit 103 and a link unit 108. The translation unit 103 includes a determination unit 105 which detects the stack size to be needed for each subroutine included in a source program to be translated into a machine instruction sequence and the name of a register to be retrieved in the process of each subroutine. The determination unit 105 then stores the stack size and the name detected into a file together with the machine instruction sequence. The link unit 108 includes the following units: A branch instruction detection unit 109 detects a branch instruction from the machine instruction sequence when machine instruction sequences stored in different files are linked each other. A file detection unit 110 and an acquisition unit 111 retrieve the stack size and the register name from the file which has the branch target subroutine. A subroutine call instruction generation unit 112 replaces the branch instruction with an instruction which consequently executes a branch operation, a stack reservation, and register retrieval.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A program translating apparatus which comprises a translation unit and a link unit, said translation unit translating source programs into machine instruction sequences, storing the machine instruction sequences into files, and outputting the files, said link unit linking a machine instruction sequence stored in a file with another machine instruction sequence stored in another file, wherein said translation unit comprises: a stack size determination means for determining a stack size to be required for a process of each subroutine included in a source program, and storing the stack size det
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 18 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- "A Survey of Branch Techniques in Pipelined Processors", by A.M. Gonzales, 8205 Microprocessing and Microprogramming 36(1993) Oct., No. 5.
- "Inside Intel's i960CA Superscalar Processor", by S. McGeady, 2407 Microprocessoers and Microsystems, 14 (1990) Jul./Aug., No. 6
- A Survey of Branch Techniques in Pipelined Processors , by A.M. Gonzales, 8205 Microprocessing and Microprogramming 36(1993) Oct., No. 5.
- Inside Intel s i960CA Superscalar Processor , by S. McGeady, 2407 Microprocessoers and Microsystems, 14 (1990) Jul./Aug., No. 6
- Srivastava et al.; "Prophetic Branches: A Branch Architecture for Code Compaction and Efficient Execution"; Microarchitecture, 1993 International Symposium; pp. 94-99, 1993.