The invention discloses a set based on RISC-. According to the method and
system complete mechanism of the instruction, the interface and the
coprocessor for matrix
convolution calculation of the V
instruction set architecture, traditional matrix
convolution calculation is efficiently achieved in a
software and hardware combined mode, and RISC-is utilized.
Extensibility of V instruction sets, a small number of instructions and a special
convolution calculation unit (namely a
coprocessor) are designed; the memory access times and the execution period of a matrix convolution calculation instruction are reduced, the complexity of
application layer software calculation is reduced, the efficiency of large matrix convolution calculation is improved, the calculation speed of matrix convolution isincreased, flexible calling of upper-layer developers is facilitated, and the coding design is simplified. Meanwhile, RISC-is utilized. The processor designed by the V
instruction set also has greatadvantages in
power consumption, size and flexibility compared with ARM, X86 and other architectures, can adapt to different application scenes, and has a wide prospect in the field of
artificial intelligence.