Patent ID: 7725521

Claim:
A machine-implemented method of transforming image content data of one of a still image and a video image within a machine, the method comprising: decoding a first shuffle instruction and a first multiply-add instruction with decoding logic within the machine, the decoding logic operable to recognize the first shuffle instruction and the first multiply-add instruction, each of an instruction format comprising a first operand field and a second operand field; responsive at least in part to said first shuffle instruction, generating a first packed data having a first plurality of byte data elements of image content data including at least two copies of each of a 1 , a 2 , a 3 , and a 4 byte data elements with at least one execution unit that is responsive at least in part to said first shuffle instruction; and responsive to said first multiply-add instruction, wherein the first operand field of said first multiply-add instruction specifics said first packed data and the second operand field specifies a second packed data having a second plurality of byte data elements including at least two copies of each of b 1 , b 2 , b 3 , and b 4 byte data elements, performing an operation (a 1 ×b 1 )+(a 2 ×b 2 ) with the at least one execution unit which is responsive to said first multiply-add instruction to generate a first 16-bit data element of a third packed data, performing an operation (a 3 ×b 1 )+(a 4 ×b 2 ) with the at least one execution unit which is responsive to said first multiply-add instruction to generate a second 16-bit data element of the third packed data, and performing an operation (a 1 ×b 3 )×(a 2 ×b 4 ) with the at least one execution unit which is responsive to said first multiply-add instruction to generate a third 16-bit data element of the third packed data.