CPC G06F 9/3824 (2013.01) [G06F 9/30036 (2013.01); G06F 9/30043 (2013.01); G06F 9/345 (2013.01); G06F 9/355 (2013.01); G06F 15/8053 (2013.01)] | 18 Claims |
1. A processor, comprising:
an arithmetic logic unit;
a vector load-store unit configured to generate effective addresses of load and store operations of the processor;
an operand vector register configured to store at least a plurality of elements; and
a vector index register configured to store a plurality of indices identifying respectively the plurality of elements stored in the operand vector register;
wherein during a vector operation, the processor is configured to generate an output vector using an input vector and the arithmetic logic unit, the input vector having the plurality of elements identified by the plurality of indices stored in the vector index register; and
wherein the vector load-store unit is further configured to, for each respective index stored in the vector index register, add the respective index to an effective address for accessing a corresponding position in the operand vector register.
|