DocumentCode :
1252693
Title :
Code compression techniques using operand field remapping
Author :
Lin, K. ; Chung, C.P.
Author_Institution :
Dept. of Comput. Sci. & Inf. Eng., Nat. Chiao Tung Univ., Hsinchu, Taiwan
Volume :
149
Issue :
1
fYear :
2002
fDate :
1/1/2002 12:00:00 AM
Firstpage :
25
Lastpage :
31
Abstract :
Dictionary-based code compression stores the most frequently used instruction sequences in a dictionary and replaces the occurrences of these sequences in the program with codewords. The large dictionary size is due mainly to many instruction sequences which are different only in their operands, but are otherwise the same. The operand factorisation technique divides the expression tree into a tree pattern (opcode sequence) and an operand pattern (operand sequence) to reduce this redundancy. Instruction sequences with the same opcodes but different operands may thus share the same tree-pattern dictionary entry. This paper proposes an operand field remapping method to further reduce the dictionary size. The key idea is to explore the relations between the current operand to be compressed with those already compressed. The operand pattern dictionary is therefore divided into an operand remapping dictionary and an operand list dictionary. Each entry in the operand remapping dictionary indicates whether the operand (register or immediate value) to be compressed is the most-used operand, the same as the destination register of the previous instructions, or otherwise. With this remapping technique, the operand dictionary size is greatly reduced. An average 46% compression ratio can be achieved, where the compression ratio = (dictionary size + compressed code size)/(original program size)
Keywords :
codes; data compression; dictionaries; redundancy; sequences; tree data structures; codewords; compressed code size; compression ratio; dictionary size; dictionary-based code compression techniques; expression tree; frequently used instruction sequences; instruction sequences; opcode sequence; operand factorisation technique; operand field remapping; operand list dictionary; operand pattem; operand remapping dictionary; operand sequence; program size; redundancy reduction; register; tree pattern;
fLanguage :
English
Journal_Title :
Computers and Digital Techniques, IEE Proceedings -
Publisher :
iet
ISSN :
1350-2387
Type :
jour
DOI :
10.1049/ip-cdt:20020157
Filename :
983903
Link To Document :
بازگشت