A
processing circuit is provided for performing
vector operations, and an
instruction decoder circuit is used to decode instructions from a set of instructions in order to control the
processing circuit for performing the
vector operations specified by the instructions. Array storage is used, having storage elements for storing data blocks, and when performing
vector operations, it stores at least one two-dimensional array of data blocks accessible to the
processing circuit. The set of instructions includes a complex-valued cross product instruction specifying a first source
operand, a
second source operand, and a destination
operand, each of which the first and
second source operands are vector operands containing multiple
source data elements, each
source data element being a complex number formed from a real part and an imaginary part, and the destination operand identifies a given two-dimensional array of data blocks in the array storage. The processing circuit, in response to a complex-valued cross product instruction, performs a cross product operation using the
source data elements of the first source operand and the source data elements of the
second source operand to generate multiple result data elements. Each result
data element is a complex number formed from a real part and an imaginary part, and each real part and imaginary part of each result
data element is associated with one of the data blocks in a given two-dimensional array of data blocks and used to update the value of that associated data block.