Apparatus and method for handling of modified immediate constant during instruction translation
AssigneeVIA Technologies, Inc.
InventorsG. Glenn Henry, Terry Parks, Rodney E. Hooker
Life of this patent
Estimating the term…
Loading patent…
AssigneeVIA Technologies, Inc.
InventorsG. Glenn Henry, Terry Parks, Rodney E. Hooker
Estimating the term…
An ISA-defined instruction includes an immediate field having a first and second portions specifying first and second values, which instructs the microprocessor to perform an operation using a constant value as one of its source operands. The constant value is the first value rotated/shifted by a number of bits based on the second value. An instruction translator translates the instruction into one or more microinstructions. An execution pipeline executes the microinstructions generated by the instruction translator. The instruction translator, rather than the execution pipeline, generates the constant value for the execution pipeline as a source operand of at least one of the microinstructions for execution by the execution pipeline. Alternatively, if the immediate field value is not within a predetermined subset of values known by the instruction translator, the instruction translator generates, rather than the constant, a second microinstruction for execution by the execution pipeline to generate the constant.
A microprocessor having an instruction set architecture that defines at least one instruction comprising an immediate field, wherein the immediate field has a first portion specifying a first value and a second portion specifying a second value, wherein the instruction instructs the microprocessor to perform an operation which uses a constant value as one of its source operands, wherein the constant value is the first value rotated/shifted by a number of bits based on the second value, the microprocessor comprising:
The microprocessor of claim 10, wherein the data processing instructions of the ARM ISA that specify a modified immediate constant include conditional ALU instructions that specify a modified immediate constant.
A method performed by a microprocessor having an instruction set architecture that defines at least one instruction comprising an immediate field, wherein the immediate field has a first portion specifying a first value and a second portion specifying a second value, wherein the instruction instructs the microprocessor to perform an operation which uses a constant value as one of its source operands, wherein the constant value is the first value rotated/shifted by a number of bits based on the second value, the method comprising:
A microprocessor having an instruction set architecture that defines at least one instruction comprising an immediate field, wherein the immediate field has a first portion specifying a first value and a second portion specifying a second value, wherein the instruction instructs the microprocessor to perform an operation which uses a constant value as one of its source operands, wherein the constant value is the first value rotated/shifted by a number of bits based on the second value, the microprocessor comprising:
A method performed by a microprocessor having an instruction set architecture that defines at least one instruction comprising an immediate field, wherein the immediate field has a first portion specifying a first value and a second portion specifying a second value, wherein the instruction instructs the microprocessor to perform an operation which uses a constant value as one of its source operands, wherein the constant value is the first value rotated/shifted by a number of bits based on the second value, the microprocessor also having an instruction translator and an execution pipeline, the method comprising:
A computer program product encoded in at least one computer readable storage medium for use with a computing device, the computer program product comprising:
Dependencies are inferred from the claim text.