Patent ID: 11900112
Assignee: TEXAS INSTRUMENTS INCORPORATED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A method comprising:
receiving a vector reverse instruction that specifies a source register in a register file, a destination register in the register file, and a functional unit from among a set of functional units, wherein the source register includes a set of n lanes and the destination register includes a set of n lanes respectively corresponding to the set of n lanes of the source register, wherein n is an integer of 4 or greater, wherein the vector reverse instructions further specifies that the vector reverse instruction is a single vector reverse operation; and
based on the vector reverse instruction, performing, by the specified functional unit:
receiving a first vector from the source register, wherein the first vector includes a set of n elements, in which a first element of the set of n elements is stored in a first lane of the set of n lanes in the source register and each succeeding element of the set of n elements is stored in a respective succeeding lane of the set of n lanes in the source register;
reversing the set of elements of the first vector to produce a second vector; and
storing the second vector in the destination register, in which a first element of the second vector is stored in the nth lane of the destination register and each of succeeding element of the second vector is stored in a respective preceding lane of the destination register,

wherein the vector reverse instruction is completed in a single operation.