Data processing apparatus and method for utilizing endianess independent data values
US7822955B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 21, 2003 |
| Grant date | Oct 26, 2010 |
| Priority date | — |
| Expiry date | Nov 24, 2027 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/30076
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The present invention provides a technique for swapping data values within a data word. In particular, a single endian reverse instruction is provided to cause independent swap operations to be performed on particular sections of an input data word. The data processing apparatus of the present invention comprises a data processing unit for executing instructions which is responsive to the endian reverse instruction to apply an endian reverse operation to an input data word Rm comprising a plurality of data values. The endian reverse operation yields a result data word Rd given by: treating the input data word as consisting of a plurality of input sections, the result data word having a corresponding plurality of result sections, at least one input section comprising a plurality of data values; and for at least one of the input sections comprising a plurality of data values, performing an independent swap operation on the data values within that input section to form the result data word Rd in which the corresponding result section has its data values swapped with respect to that input section. This provides a particularly efficient technique for providing endian reversal functional…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.