Instruction folding for a stack-based machine
AssigneeSun Microsystems, Inc.
InventorsJames Michael O'Connor, Marc Tremblay
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsJames Michael O'Connor, Marc Tremblay
Estimating the term…
An instruction decoder allows the folding away of JAVA virtual machine instructions pushing an operand onto the top of a stack merely as a precursor to a second JAVA virtual machine instruction which operates on the top of stack operand. Such an instruction decoder identifies foldable instruction sequences and supplies an execution unit with a single equivalent folded operation thereby reducing processing cycles otherwise required for execution of multiple operations corresponding to the multiple instructions of the folded instruction sequence. Instruction decoder embodiments described herein provide for folding of two, three, four, or more instruction folding. For example, in one instruction decoder embodiment described herein, two load instructions and a store instruction can be folded into execution of operation corresponding to an instruction appearing therebetween in the instruction sequence.
A virtual machine instruction processor apparatus comprising:
A method for decoding virtual machine instructions in a virtual machine instruction processor the method comprising:
A stack-based virtual machine implementation comprising:
A hardware virtual machine instruction processor comprising:
Dependencies are inferred from the claim text.