Instruction processing method and device, and storage medium
AssigneeHygon Information Technology Co., Ltd.
InventorWeisong Jin
Life of this patent
Estimating the term…
Abstract
An instruction processing method and device and a computer-readable storage medium are provided. The instruction processing method includes: acquiring inter-thread resource conflict information of a plurality of threads which are processed in a processor, to determine at least two threads having a resource conflict in the plurality of threads; determining alternative threads which are arbitrated for being scheduled in a current operation cycle from the plurality of the threads, wherein the alternative threads do not simultaneously include the at least two threads having the resource conflict; and determining a target thread to be scheduled in the current operation cycle from the alternative threads.
Claims22
An instruction processing method, comprising:
- acquiring inter-thread resource conflict information of a plurality of threads which are processed in a processor, to determine at least two threads having a resource conflict in the plurality of threads;
- determining alternative threads which are arbitrated for being scheduled in a current operation cycle from the plurality of the threads, wherein the alternative threads do not simultaneously comprise the at least two threads having the resource conflict;
- and
- determining a target thread to be scheduled in the current operation cycle from the alternative threads.
11-19. (canceled)
An instruction processing device, comprising:
- a processor and a memory;
- wherein the memory stores computer-readable instructions and is communicatively connected with the processor;
- and
- the processor executes the computer-readable instructions stored in the memory to implement an instruction processing method, wherein the instruction processing method comprises:
- acquiring inter-thread resource conflict information of a plurality of threads which are processed in a processor, to determine at least two threads having a resource conflict in the plurality of threads;
- determining alternative threads which are arbitrated for being scheduled in a current operation cycle from the plurality of the threads, wherein the alternative threads do not simultaneously comprise the at least two threads having the resource conflict;
- and
- determining a target thread to be scheduled in the current operation cycle from the alternative threads.
(canceled)
A computer-readable storage medium, wherein computer-readable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-readable instructions, an instruction processing method is implemented, wherein the instruction processing method comprises:
- acquiring inter-thread resource conflict information of a plurality of threads which are processed in a processor, to determine at least two threads having a resource conflict in the plurality of threads;
- determining alternative threads which are arbitrated for being scheduled in a current operation cycle from the plurality of the threads, wherein the alternative threads do not simultaneously comprise the at least two threads having the resource conflict;
- and
- determining a target thread to be scheduled in the current operation cycle from the alternative threads.
Dependencies are inferred from the claim text.