主权项 |
1. A semiconductor device comprising a data processor capable of executing a vector instruction,
wherein the data processor includes a first and a second vector registers, and a general register or an exclusive register, wherein the vector instruction is an instruction to calculate contents of the first vector register and contents of the second vector register for every element, combine additional information based on the calculated result for every element, shift contents of the general register or the exclusive register to right or left, insert the combined additional information in an empty portion resulting from the shift, and accumulate the additional information in the general register or the exclusive register. |