Instruction in a data processing system utilizing extension bits and method therefor
First Claim
1. A method of executing an arithmetic instruction in a data processor, comprising the steps of:
- receiving the arithmetic instruction the arithmetic instruction being associated with a source operand and a destination operand;
decoding the arithmetic instruction to provide a plurality of control signals;
accessing a first extension bit from a first storage location during execution of the arithmetic instruction, the first extension bit providing a status information value;
accessing a second extension bit from a second storage location during execution of the arithmetic instruction, the second extension bit providing a sign value corresponding to the source operand of the arithmetic instruction;
executing an arithmetic operation in response to the plurality of control signals, both the first extension bit and the second extension bit being used during execution of the arithmetic operation to provide a result the first extension bit and the second extension bit being used in a first manner when the arithmetic instruction is a preliminary instruction and the first extension bit and the second extension bit being used in a second manner when the arithmetic instruction is a non-preliminary instruction;
selectively modifying the first extension bit to store a modified status information value corresponding to the result; and
selectively modifying the second extension bit to store a modified sign value corresponding to the result.
7 Assignments
0 Petitions
Accused Products
Abstract
A data processing system (55) and method thereof includes one or more data processors (10). Data processor (10) is capable of performing both vector operations and scalar operations. Using a single microsequencer (22), data processor (10) is capable of executing both vector instructions and scalar instructions. Data processor (10) also has a memory circuit (14) capable of storing both vector operands and scalar operands. The data processing system (55) includes a plurality of instructions which include and utilize an extension bit during execution. In one embodiment, a plurality of instructions, both arithmetic and non-arithmetic, use extension bits for preliminary and non-preliminary instructions in order to accommodate large data widths.
38 Citations
16 Claims
-
1. A method of executing an arithmetic instruction in a data processor, comprising the steps of:
-
receiving the arithmetic instruction the arithmetic instruction being associated with a source operand and a destination operand; decoding the arithmetic instruction to provide a plurality of control signals; accessing a first extension bit from a first storage location during execution of the arithmetic instruction, the first extension bit providing a status information value; accessing a second extension bit from a second storage location during execution of the arithmetic instruction, the second extension bit providing a sign value corresponding to the source operand of the arithmetic instruction; executing an arithmetic operation in response to the plurality of control signals, both the first extension bit and the second extension bit being used during execution of the arithmetic operation to provide a result the first extension bit and the second extension bit being used in a first manner when the arithmetic instruction is a preliminary instruction and the first extension bit and the second extension bit being used in a second manner when the arithmetic instruction is a non-preliminary instruction; selectively modifying the first extension bit to store a modified status information value corresponding to the result; and selectively modifying the second extension bit to store a modified sign value corresponding to the result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of executing a comparative instruction in a data processor, comprising the steps of:
-
receiving the comparative instruction where the comparative instruction is one of a preliminary comparative instruction and a non-preliminary comparative instruction, the comparative instruction being associated with a source operand and a destination operand; decoding the comparative instruction to provide a first plurality of control signals; accessing a first extension bit from a first storage location and a second extension bit from a second storage location during execution of the comparative instruction; comparing the source operand with the destination operand in response to the first plurality of control signals, both the first extension bit and the second extension bit being selectively used during execution of the comparative operation to provide a result; and selectively modifying the first extension bit and the second extension bit to indicate a current result of the step of comparing the source operand with the destination operand. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A method of executing a comparative instruction in a data processor, comprising the steps of:
-
receiving the comparative instruction, the comparative instruction being associated with a source operand and a destination operand; decoding the comparative instruction to provide a first plurality of control signals; accessing a first extension bit from a first storage location and a second extension bit from a second storage location during execution of the comparative instruction; comparing the source operand with the destination operand in response to the first plurality of control signals, both the first extension bit and the second extension bit being selectively used during execution of the comparative operation to provide a result; and selectively modifying the first extension bit and the second extension bit to indicate a current result of the step of comparing the source operand with the destination operand, wherein the first and second extension bits are both placed in a default state subsequent to the step of comparing the source operand with the destination operand when the comparative instruction is a non-preliminary instruction.
-
Specification