摘要 |
PROBLEM TO BE SOLVED: To provide a data processing unit, a method and a program for SIMD (single instruction multiple data) processing, for the field of SIMD data processing in which a data processing instruction executes data processing operations to respective data elements from source registers in a plurality of parallel lanes of processing so as to generate respective data elements within a destination register. SOLUTION: The processing unit comprises a register data storage device having at least three general registers capable of storing a plurality of data elements, an instruction decoder capable of decoding a multiplexing instruction, and a data processor capable of processing in parallel a plurality of data elements. The data processor designates, in response to the multiplexing instruction, two of the three general registers as source registers each capable of storing a plurality of source data elements, designates the one as a control register capable of storing a plurality of control values, and designates one of the control register and the two source registers as a destination register capable of storing a plurality of result data elements. Accordingly, in response to each of a plurality of control values, corresponding data elements can be selected from one of the two source registers and stored in the destination register as result data elements. COPYRIGHT: (C)2005,JPO&NCIPI
|