Patent ID: 7516299

Claim:
A method for transferring data from a general purpose register (GPR) to a vector register (VR), the method comprising of: vectorially combining data in the VR from the GPR, by executing instructions of a PowerPC Instruction Set Architecture (ISA), said step of combining comprises: splatting a low nibble from the GPR into a low nibble in each element of a first VR by executing two “load vector for shift left” (lvsl) or “load vector for shift right” (lvsr) and one “vector subtract unsigned byte modulo” (vsububm); shifting a high nibble of the GPR into a low nibble of the GPR; splatting the low nibble of the GPR into a low nibble in each element of a second VR by re-executing the two lvsl or lvsr and one vsububm instructions; shifting the low nibble of the second VR into a high nibble of the second VR; and combining both first and second VRs into one VR.