Method and apparatus for performing a vector skip instruction in a data processor
First Claim
Patent Images
1. A method for executing an instruction in a data processor, comprising the steps of:
- receiving the instruction;
decoding the instruction to provide a plurality of control signals;
providing a plurality of processing elements and a plurality of enable bits, each of the plurality of enable bits corresponding to an associated one of the plurality of processing elements, each of the plurality of enable bits having a first value if its associated one of the plurality of processing elements is in a first state, and having a second value if its associated one of the plurality of processing elements is in a second state;
accessing the plurality of enable bits in response to the plurality of control signals;
determining if any of the plurality of enable bits have the first value; and
causing all of the plurality of processing elements to skip execution of a next instruction if any of the plurality of enable bits in any of the plurality of processing elements have the first value.
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.
47 Citations
14 Claims
-
1. A method for executing an instruction in a data processor, comprising the steps of:
-
receiving the instruction; decoding the instruction to provide a plurality of control signals; providing a plurality of processing elements and a plurality of enable bits, each of the plurality of enable bits corresponding to an associated one of the plurality of processing elements, each of the plurality of enable bits having a first value if its associated one of the plurality of processing elements is in a first state, and having a second value if its associated one of the plurality of processing elements is in a second state; accessing the plurality of enable bits in response to the plurality of control signals; determining if any of the plurality of enable bits have the first value; and causing all of the plurality of processing elements to skip execution of a next instruction if any of the plurality of enable bits in any of the plurality of processing elements have the first value. - View Dependent Claims (2, 3, 4)
-
-
5. A data processor, comprising:
-
circuitry for receiving a vector instruction; a vector engine capable of executing a vector operation in response to the vector instruction, the vector engine comprising a plurality of processing elements, each one of the plurality of processing elements comprising vector control circuitry for controlling operation of that one of the plurality of processing elements, and each one of the plurality of processing elements comprising a storage circuit for storing an indicator; circuitry which determines if any indicator within any of the plurality of processing elements has a first value; and circuitry for causing all of the plurality of processing elements to skip execution of a next vector instruction if any indicator within any of the plurality of processing elements has the first value. - View Dependent Claims (6, 7)
-
-
8. A method for executing an instruction in a data processor, comprising the steps of:
-
receiving the instruction, the instruction having an operand; decoding the instruction to provide a plurality of control signals; accessing a data value stored in a storage location indicated by the operand of the instruction in response to the plurality of control signals; adjusting the data value stored in the storage location by an adjust value to generate an adjusted data value; asserting an enable value corresponding to the storage location, the enable value selectively enabling the storage location to participate in execution of the instruction; negating a history value corresponding to the storage location, the history value indicating whether the storage location has been used previously in execution of a conditional instruction; performing a comparison test to compare the adjusted data value with a predetermined value; executing a next instruction when a result of the comparison test is false; and skipping execution of the next instruction when a result of the comparison test is true. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification