The invention provides a method and
system for changing an instruction period, and the method comprises the steps: obtaining a computer instruction, decoding the computer instruction, obtaining instruction information, and generating a corresponding operation task; according to the instruction information, setting a
clock cycle number required when the operation task is executed; and issuing the operation task to a corresponding stage in the
assembly line, and executing the corresponding operation task according to the
clock cycle number. According to the method and the device, the
clock cycle number required by each operation task corresponding to each computer instruction is analyzed in real time according to the instruction information, then the
instruction cycle is dynamically allocated to each stage of the
assembly line, and the
running time of different stages of the
assembly line is dynamically adjusted, so that the operation efficiency is improved when different computer instructions are processed. According to the method, the simple computer instructions and the complex computer instructions can be taken into consideration at the same time in
operation time, so that all the computer instructions can operate normally, meanwhile, the
resource utilization rate is increased, the operation efficiency is improved, and the effects of reducing cost and increasing efficiency are achieved.