摘要 |
PROBLEM TO BE SOLVED: To reduce the number of coping times between a memory and registers and the number of execution times of a vector operation instruction and to improve a processing speed by collectively copying arrays in the same set into a vector register and processing them with the same vector operation instruction. SOLUTION: When an addition expression in which the sum of elements with each other of arrays E and F is made and element for an array D is described while following an addition expression in which the sum of elements with each other of arrays B and C is made an element for an array A, respective elements of the arrays B and E are copied into a vector register B (Vb) from a continuous area on a memory (S1). Respective elements of the arrays C and F are copied into a vector register C (Vc) from the continuous area of the memory (C2). A vector operation instruction Va=Vb+Vc is carried out (S3). Each element of a vector register A (Va) is copied into the continuous area of the memory (S4). Thus, processing needing eight steps in the conventional practice comes to need only four steps.
|