Claims
- 1. A method for utilizing bits in an illegal op code in order to not increase the number of bits required to represent each instruction comprising the steps of:fetching a plurality of instructions from a memory; re-encoding one or more illegal op codes of one or more instructions into a single illegal op code if said one or more instructions comprise illegal op codes that are a member of a group of illegal op codes; pre-decoding a fetched instruction that has a legal op code; and re-encoding the legal op code and one or more fields of said pre-decoded instruction into a previously illegal op code which was re-mapped into said single illegal op code.
- 2. The method as recited in claim 1, wherein said pre-decoding produces additional pre-decoded information, wherein said re-encoded pre-decoded instruction is configured to store said additional pre-decoded information in said previously illegal op code.
- 3. The method as recited in claim 2, wherein said additional pre-decoded information comprises a carry-out field.
- 4. The method as recited in claim 3, wherein said carry-out field is associated with a fetched branch instruction.
- 5. A processor, comprising:an instruction cache configured to fetch a plurality of instructions; and a logic unit coupled to said instruction cache configured to re-encode one or more illegal op codes of one or more instructions into a single illegal op code if said one or more instructions comprise illegal op codes that are a member of a group of illegal op codes, wherein said logic unit is further configured to pre-decode a fetched instruction that has a legal op code, wherein said logic unit is further configured to re-encode the legal op code and one or more fields of said pre-decoded instruction into a previously illegal op code which was re-mapped into said single illegal op code.
- 6. The processor as recited in claim 5, wherein said pre-decoding produces additional pre-decoded information, wherein said re-encoded pre-decoded instruction is configured to store said additional pre-decoded information in said previously illegal op code.
- 7. The processor as recited in claim 6, wherein said additional pre-decoded information comprises a carry-out field.
- 8. The processor as recited in claim 7, wherein said carry-out field is associated with a fetched branch instruction.
- 9. A processor, comprising:means for fetching a plurality of instructions from a memory; means for re-encoding one or more illegal op codes of one or more instructions into a single illegal op code if said one or more instructions comprise illegal op codes that are a member of a group of illegal op codes; means for pre-decoding a fetched instruction that has a legal op code; and means for re-encoding the legal op code and one or more fields of said pre-decoded instruction into a previously illegal op code which was re-mapped into said single illegal op code.
- 10. The processor as recited in claim 9, wherein said pre-decoding produces additional pre-decoded information, wherein said re-encoded pre-decoded instruction is configured to store said additional pre-decoded information in said previously illegal op code.
- 11. The processor as recited in claim 10, wherein said additional pre-decoded information comprises a carry-out field.
- 12. The processor as recited in claim 11, wherein said carry-out field is associated with a fetched branch instruction.
- 13. A system, comprising:A memory configured to store instructions, An instruction cache coupled to said memory, wherein said instruction cache is configured to fetch a plurality of instructions from said memory, A logic unit coupled to said instruction cache configured to re-encode one or more illegal op codes of one or more instructions into a single illegal opcode if said one or more instructions comprise illegal op codes that are a member of a group of illegal op codes, wherein said logic unit is further configured to pre-decode a fetched instruction that has a legal op code, wherein said logic unit is further configured to re-encode the legal op code and one or more fields of said pre-decoded instruction into a previously illegal op code which was re-mapped into said single illegal opcode.
- 14. The system as recited in claim 13, wherein said pre-decoding produces additional pre-decoded information, wherein said re-encoded pre-decoded instruction is configured to store said additional pre-decoded information in said previously illegal op code.
- 15. The system as recited in claim 14, wherein said additional pre-decoded information comprises a carry-out field.
- 16. The system as recited in claim 15, wherein said carry-out field is associated with a fetched branch instruction.
CROSS REFERENCE TO RELATED APPLICATION
The present invention is related to the following U.S. patent application which is incorporated herein by reference:
Ser. No. 10/082,144 entitled “Efficiently Calculating a Branch Target Address” filed Feb. 25, 2002.
US Referenced Citations (15)
Non-Patent Literature Citations (2)
Entry |
J. A. Kahle, “Opcode Remap and Compression in Hard-Wired RISC Microprocessor,” IBM Technical Disclosure Bulletin, vol. 32, No. 10A, Mar. 1990, p. 349. |
V. R. Augsburg et al., Pending patent application Ser. No. 10/082,144 filed on Feb. 25, 2002 entitled “Efficiently Calculating a Branch Target Address”. |