Patent ID: 7434040

Claim:
A method of copying unaligned data comprising: performing a pipelined loop by overlapping execution of instructions in a repeated sequence of operations, wherein an iteration of the pipelined loop includes: loading in a pipelined operation unaligned data from a string of unaligned data to form units of unaligned data, wherein loading includes: loading into a first temporary data register, a remainder of unaligned data; loading into a second temporary data register, a first unit of unaligned data from the string of unaligned data; and loading into a third temporary data register, a second unit of unaligned data from the string of unaligned data; shifting in a pipelined operation portions of the units of unaligned data to form aligned portions of data; merging in a pipelined operation the aligned portions of data into units of aligned data; storing in a pipelined operation the units of aligned data to form a string of aligned data; and moving into the first temporary data register, data from the third temporary data register, to become the remainder on a next iteration of the pipelined loop; and wherein the method includes executing one iteration of the pipelined loop in one processor cycle.