Method of simulating computation instructions for an instruction set simulator
OwnerShan-Chyun Kuinventor
Life of this patent
Estimating the term…
Abstract
A method of simulating computation instructions for an instruction set simulator. First, a computation instruction is received by the instruction set simulator. Then, an operator and at least one operand of the computation instruction are stored to a data structure, and the computation instruction is simulated without computing flags. If a flag determination is received for simulation, the operator and the operand are read from the data structure. Then, a flag used in the flag determination is computed according to the operator and the operand, and the flag determination is simulated according to the flag.
Claims14
A method of simulating computation instructions for an instruction set simulator, comprising the steps of:
- receiving a computation instruction;
- storing an operator of the computation instruction to a buffer;
- storing a first operand of the computation instruction to the buffer;
- storing a second operand of the computation instruction to the buffer;
- simulating the computation instruction without computing flags;
- reading the operator, the first operand, and the second operand from the buffer if a condition instruction is received by the instruction set simulator;
- computing at least one flag used in the condition instruction according to the operator, the first operand, and the second operand;
- and
- simulating the condition instruction according to the flag.
A method of simulating computation instructions for an instruction set simulator, comprising the steps of:
- receiving a computation instruction;
- storing an operator of the computation instruction to a buffer;
- storing a first operand of the computation instruction to the buffer;
- storing a second operand of the computation instruction to the buffer;
- and
- simulating the computation instruction without computing flags.
A method of simulating computation instructions for an instruction set simulator, comprising the steps of:
- receiving a computation instruction;
- storing at least one operator and at least one operand of the computation instruction to a data structure;
- simulating the computation instruction without computing flags;
- reading the operator and the operand from the data structure if a flag determination is received for simulation by the instruction set simulator;
- computing a flag used in the flag determination according to the operator and the operand;
- and
- simulating the flag determination according to the flag.
Dependencies are inferred from the claim text.