Aligning load/store data using rotate, mask, zero/sign-extend and or operation
AssigneeRenesas Technology Corp.
InventorDavid E. Shepherd
Life of this patent
Estimating the term…
Loading patent…
AssigneeRenesas Technology Corp.
InventorDavid E. Shepherd
Estimating the term…
The present invention relates generally to microprocessor or microcontroller architecture, and particularly to an architecture structured to handle unaligned memory references. A method is disclosed for loading unaligned data stored in several memory locations, including a step of loading a first part of the unaligned data into a first storage location and rotating the first part from a first position to a second position in the first memory location. Next a second part of the unaligned data is loaded into a second storage location and rotated from one position to another position. Then the first storage location is combined with the second storage location using a logical operation into a result storage location. The storage locations may be, for example, 64-bit registers. The logical operation may be a bit-wise OR operation. The method may optionally include, performing masking, zero-extending and/or sign extending operations on the first storage location, when the first part of the unaligned data is in the second position of the first storage location.
A method for accessing a first datum stored in a memory, the first datum comprising a plurality of first bytes and a plurality of second bytes, wherein a word boundary separates the first bytes from the second bytes, the first bytes including one or more first desired bytes and one or more first undesired bytes, the second bytes including one or more second desired bytes and one or more second undesired bytes, the method comprising:
A method for accessing a datum stored in a memory, the datum including a plurality of first bytes and a plurality of second bytes, wherein a word boundary separates the first bytes from the second bytes, the first bytes including one or more first desired bytes and one or more first undesired bytes, the second bytes including one or more second desired bytes and one or more second undesired bytes, the method comprising:
A data processor for accessing a stored datum stored in a memory, the stored datum comprising a plurality of first bytes and a plurality of second bytes, wherein a word boundary separates the first bytes from the second bytes, the first bytes including one or more first desired bytes and one or more first undesired bytes, the second bytes including one or more second desired bytes and one or more second undesired bytes, the data processor comprising:
A data processor system comprising:
Dependencies are inferred from the claim text.