The invention is suitable for the technical field of vector processors, and particularly relates to a vector shifting method and
system and a storage medium. The vector shifting
system comprises an instruction decoding unit and a vector
register file, a microinstruction splitting unit, a microinstruction transmitting unit and a vector shift
execution unit; the instruction decoding unit is used for decoding the vector shift instruction; the microinstruction splitting unit is used for splitting the received vector shift instruction into a plurality of microinstructions; if the moving direction is downward, the micro instruction is subjected to reverse
processing, and the sequence of the source register address and the destination register address of the micro instruction is reversed; and the vector shift
execution unit is used for performing shift
processing on the microinstruction according to the source
register data and the offset, and writing a shift execution result back to a destination register corresponding to the vector
register file. Compared with the prior art, circuit logic
multiplexing can be more effectively carried out, and hardware resource overhead is reduced.