摘要 |
A compression method and apparatus compresses the program and data for a CPU which significantly reduces the density of storage device of storing the program and the data for a CPU to execute the program. Multiple groups of instructions and data are compressed separately by a mapping unit indicating the starting location of a group of instructions and data set s which helps quickly recovering the corresponding instructions and data. In decoding, multiple instructions and data are decoded in parallel to quickly recover instructions and data to avoid running out of instruction and data in the file register. A mapping unit is used to translate the corresponding address of a group of data for quickly recovering the corresponding data for the file register file to avoid running out of data for a CPU to execute.
|