Patent ID: 8082419

Claim:
A method of executing a single instruction comprising: receiving residual data or a first image and decoded pixels of a second image; zero-extending a plurality of unsigned data operands of an 8-bit precision of the decoded pixels using one or more qualifiers to determine whether an upper half or a lower half of the unsigned data operands in a register are operated on to produce a plurality of unpacked data operands; adding a plurality of signed data operands of a 16-bit precision of the residual data to the plurality of unpacked data operands producing a plurality of signed results, wherein the 16-bit precision is greater than the 8-bit precision; saturating the plurality of signed results producing a plurality of unsigned results responsive to the single instruction, the unsigned results having the 8-bit precision which is less than the 16-bit precision; and storing the plurality of unsigned results in one of an upper half and a lower half of a destination indicated by the single instruction and storing zeros in the other half of the destination.