Overlay instruction accessing unit and overlay instruction accessing method
Abstract
The present invention provides an overlay instruction accessing unit and method, and a method and apparatus for compressing and storing a program. The overlay instruction accessing unit is used to execute a program stored in a memory in the form of a plurality of compressed program segments, and compresses: a buffer; a processing unit for issuing an instruction reading request, reading an instruction from the buffer, and executing the instruction; and a decompressing unit for reading a requested compressed instruction segment from the memory in response to the instruction reading request of the processing unit, decompressing the compressed instruction segment, and storing the decompressed instruction segment in the buffer, wherein while the processing unit is executing the instruction segment, the decompressing unit reads, according to a storage address of a compressed program segment to be invoked in a header corresponding to the instruction segment, a corresponding compressed instruction segment from the memory, decompresses the compressed instruction segment, and stores the decompressed instruction segment in the buffer for later use by the processing unit.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for compressing and storing a program, comprising the steps of: compiling the program; partitioning an instruction part of the compiled program into a plurality of instruction segments by means of a jump instruction in the program; compressing the plurality of instruction segments to obtain a plurality of compressed instruction segments; and storing the plurality of compressed instruction segments in a memory.
- Claim 2Depends on #1
The method of claim 1 , wherein in the partitioning step, a function in the program is recognized by recognizing an annotation at the beginning of the function, and the instruction part is partitioned by means of a jump instruction at the end of the function.
- Claim 3Depends on #1
The method of claim 1 , wherein in the partitioning step, the instruction part is partitioned by means of each jump instruction in the compiled program.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (3)
- ESS'97, "Simulation in Low-Power Embedded Processor Design", Y. Yoshida et al, pp. 557-561.
- IEEE, "A Code Compression Scheme for Improving SoC Performance", E.G. Nikolova, et al, 2003, pp. 35-40.
- IEEE, "Minimizing Memory Access Energy in Embedded System by Selective Instruction Compression", Luca Benini, et al., vol. 10, IEEE Transactions on Very Large Scale Integration (VLSI) Systems, Oct. 2002, pp. 521-531.