Patent ID: 8117426

Claim:
A programmable processor comprising: (a) an instruction path and a data path; (b) an external interface operable to receive data from an external source and communicate the received data over the data path; (c) a register file comprising a plurality of registers coupled to the data path; and (d) an execution unit, coupled to the instruction and data paths, that is operable to decode and execute instructions received from the instruction path and partition data stored in registers in the register file into multiple data elements, the execution unit capable of executing group data handling operations that re-arrange data elements in different ways in response to data handling instructions, the execution unit further capable of executing a plurality of different group floating-point and group integer arithmetic operations that each arithmetically operates on the multiple data elements stored in registers in the register file to produce a catenated result that is returned to a register in the register file, wherein the catenated result comprises a plurality of individual results, wherein the execution unit is capable of executing first, second, and third group multiply-and-add instructions each of which (i) partitions data in first and second registers in the register file into a first plurality and a second plurality of equal-sized data elements and partitions a third register into a third plurality of data elements which are equal in size to one another, (ii) multiplies each data element in the first register with a corresponding data element in the second register to produce a plurality of products, (iii) adds each product in the plurality of products to a corresponding data element in the third register to produce the plurality of individual results, and (iv) provides the plurality of individual results as the catenated result, wherein the first group multiply-and-add instruction multiplies data elements of 8-bit integer data and adds data elements of 16-bit integer data, the second group multiply-and-add instruction multiplies data elements of 16-bit integer data and adds data elements of 32-bit integer data, and the third group multiply-and-add instruction multiplies data elements of 32-bit floating point data and adds data elements of 32-bit floating-point data.