Apparatus and method for modifying instruction length decoding in a computer processor
AssigneeIntel Corporation
InventorSyed Ahmad Abbas Zaidi
Life of this patent
Estimating the term…
Abstract
Apparatus for detecting move instructions in which only registers are involved. The apparatus generates signals to disable the inclusion of any SIB byte, displacement bytes and immediate bytes from the instruction length when a move instruction which only requires processor registers is encountered. The apparatus uses the generated signals for instruction length calculation and instruction prefetch pointer generation.
Claims13
A method of decoding an instruction in a processor, the method comprising the steps of:
- (a) decoding one or more bit fields of the instruction simultaneously;
- (b) determining that a first portion of the one or more bit fields conflicts with a second portion of the one or more bit fields;
- and
- (c) interpreting the first portion of the one or more bit fields as if an aliased bit pattern were substituted for the first portion of the one or more bit fields.
A method of determining the length of an instruction, the method comprising the steps of:
- (a) decoding a first field of the instruction to generate a first instruction length input, the first instruction length input being indicative of the length of the instruction;
- (b) decoding a second field of the instruction to generate a second instruction length input, the second instruction length input being indicative of the length of the instruction;
- (c) selectively suppressing the second instruction length input from being used to determine the length of the instruction.
A processor comprising:
- a first decoder for decoding a first portion of a target instruction and providing a first instruction length signal;
- a second decoder for decoding a second portion of the target instruction and providing a second instruction length signal;
- and
- instruction length calculation logic coupled to receive the first and second instruction length signals, the instruction length calculation logic coupled to receive an inhibit signal for selectively preventing the second instruction length signal from being used by the instruction length calculation logic to calculate an instruction length of the target instruction.
A processor comprising:
- a first decoder for decoding a first portion of a target instruction and providing a first instruction input;
- a second decoder for decoding a second portion of the target instruction and providing a second instruction input;
- and
- an inhibit signal for suppressing the second instruction input based upon detecting a predetermined opcode.
A method of decoding a target instruction in a processor, the method comprising:
- (a) decoding one or more bit fields of an instruction simultaneously to produce a first instruction length input and a second instruction length input of the target instruction;
- (b) determining that the first instruction length input indicates that the target instruction is of a first length, and the second instruction length input indicates that the target instruction is of a second length;
- and
- (c) inhibiting the second instruction length input from contributing to calculating an instruction length of the target instruction.
Dependencies are inferred from the claim text.