The invention relates to the technical field of
processor design, discloses a multi-thread processor pipeline architecture
system, a scheduling method and equipment, and designs an instruction prefetching scheduling
algorithm based on mixed priorities, and the
algorithm realizes load balancing of thread instruction queues through a static level decision mechanism and a dynamic level decision mechanism. The static level preferentially processes an empty
queue thread to avoid starvation, and the dynamic level dynamically adjusts instruction fetching priority according to each
queue depth, thread validity and a
branch risk state to ensure that an
instruction stream is continuously and stably supplied to a subsequent stage; a coupled
polling emission scheduling
algorithm is provided, so that
high complexity of full-permutation search is avoided, and structural conflicts and data conflicts are effectively reduced; a special
hardware architecture is designed around the algorithm, a multi-
program counter and an instruction
queue are integrated at the front end, a double-transmitting channel, a multifunctional unit and a thread private
register file are configured at the rear end, and the performance of the single-core CPU is improved by optimizing the
hardware architecture.