Patent ID: 7774581

Claim:
An apparatus for compressing instruction words, comprising: an index code generation unit which generates an index code for an effective instruction word of a very long instruction word (VLIW) instruction based on a number of consecutive no operation (NOP) instruction words up to a predetermined number N, the consecutive NOP instruction words being to be executed by a same functional unit of a plurality of functional units of a VLIW computer as the effective instruction after the execution of the effective instruction word; an instruction compression unit which deletes M number of the consecutive NOP instruction words, M being no greater than N; an instruction word conversion unit which converts the effective instruction word to include the index code; and a remaining NOP manipulator which converts a remaining NOP instruction word to include a predetermined constant index code which is independent of a number of consecutive NOP instruction words after the remaining NOP instruction word, the remaining NOP instruction word being a consecutive NOP instruction word after an N′th consecutive instruction, if the number of the consecutive NOP instruction words is greater than the predetermined N.