The invention provides an instruction acquisition control method based on
simultaneous multithreading, which includes the steps: in each
clock cycle of a processor, reading a PC (personable computer) value of instructions by an instruction acquisition component according to a
program counter, selecting two threads with high priority as instruction acquisition threads firstly, and then computing the actual instruction number required by each instruction acquisition thread so as to read the instructions; according to an IPC (inter-
process communication) value and the Cache
failure rate, enabling a dual-priority
resource allocation mechanism to compute
system resources required by the threads in an instruction acquisition stage and complete dynamic allocation of the resources; matching a TBHBP (thread
branch history
branch predictor) with the instruction acquisition operations of the instruction acquisition component, acquiring a
pattern type match position Sc by connecting global historical information with local historical information read by a
branch instruction Bi to utilize as an index of a secondary PHT (pattern history table), and inputting computed results to a BRT (branch result table); and when the branch instruction Bi is executed again, judging whether CONF fields are larger than or equal to 2 or not by the aid of a selector, directly outputting the recorded branch results if the CONF fields are larger than or equal to 2, and finally placing the acquired instruction into an instruction Cache, so that all operations of instruction acquisition control are completed.