Maintaining original per-block number of instructions by inserting NOPs among compressed instructions in compressed block of length compressed by predetermined ratio
Abstract
The present invention discloses a method for compressing instruction codes. This method comprises: compressing an instruction block including a plurality of instructions according to Huffman-Encoding technique; determining whether it's necessary to insert no-operation (nop) instructions among the plurality of compressed instructions according to a compression ratio, so as to generate a plurality of new instruction blocks complying with the compression ratio; if it's necessary to insert nop instructions, inserting nop instructions among the plurality of compressed instructions to form the plurality of new instruction blocks; and repeating the above-mentioned steps until no nop instructions have to be inserted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of compressing instruction codes, for processing at least one original instruction block according to a compression ratio, the original instruction block having an original block length and consisting of a fixed number of instructions, the method comprising: compressing the original instruction block into a compressed instruction block having a compressed block length according to an encoding technique; determining whether a ratio of the compressed block length to the original block length is equal to or less than the compression ratio; and if the ratio of the compressed block length
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 (3)
Non-Patent Literature (2)
- Lefurgy et al., Reducing Code Size with Run-Time Decompression, Jan. 8, 2000.
- Mahapatra et al., The Potential of Compression to Improve Memory System Performance, Power Consumption, and Cost, Apr. 11, 2003.