Saturation instruction in a data processor
First Claim
Patent Images
1. A method for executing a data processing instruction comprising the steps of:
- receiving a data processing instruction;
decoding the data processing instruction to provide a plurality of control signals;
providing one of a scalar data value and a portion of a vector data value as an operand of the data processing instruction;
accessing an overflow value from a first storage location, the overflow value being asserted when a result is not one of a range of data values, the overflow value being negated when the result is one of the range of data values; and
modifying the result to be equal to a predetermined value when the overflow value is asserted.
12 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.
-
Citations
17 Claims
-
1. A method for executing a data processing instruction comprising the steps of:
-
receiving a data processing instruction; decoding the data processing instruction to provide a plurality of control signals; providing one of a scalar data value and a portion of a vector data value as an operand of the data processing instruction; accessing an overflow value from a first storage location, the overflow value being asserted when a result is not one of a range of data values, the overflow value being negated when the result is one of the range of data values; and modifying the result to be equal to a predetermined value when the overflow value is asserted. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A data processor, comprising:
-
circuitry for receiving a first vector instruction and a second vector instruction; a vector engine, comprising a plurality of processing elements for executing the first and second vector instructions, each one of the plurality of processing elements comprising; control circuitry for controlling operation of that one of the plurality of processing elements; circuitry for producing a result value during execution of the first instruction; circuitry for producing an overflow indicator during execution of the first instruction; and circuitry for selectively modifying the result value during execution of the second instruction so that the result value is equal to a predetermined value when the overflow indicator indicates that overflow has occurred. - View Dependent Claims (15)
-
-
16. A method for executing a first data processing instruction and a second data processing instruction, the method comprising the steps of:
-
receiving a first data processing instruction; providing one of a scalar data value and a portion of a vector data value as an operand of the first data processing instruction; decoding the first data processing instruction to provide a first plurality of control signals; during execution of the first data processing instruction, producing a result value and an overflow indicator; during execution of the first data processing instruction, storing the result value in a first storage circuit and storing the overflow indicator in a second storage circuit; receiving a second data processing instruction; decoding the second data processing instruction to provide a second plurality of control signals; and during execution of the second data processing instruction, modifying the result value to be equal to a predetermined value when the overflow indicator stored in the second storage circuit indicates that an overflow occurred during execution of the first instruction. - View Dependent Claims (17)
-
Specification