This application provides an address comparison and checking method,
scalar processor, and device for a compressed issue
queue. The method acquires a first instruction and a second instruction from the compressed issue
queue; and obtains an address comparison and checking result based on the address correlation between the first instruction and each second instruction. Furthermore, a comparison and checking
result vector is formed, and this vector is updated in advance based on the instruction status in the compressed issue
queue in the next cycle. This method, by obtaining the address comparison and checking result based on the address correlation between the first instruction and each second instruction, can flexibly support diverse memory access granularities with a small hardware area overhead while ensuring processor performance (timing). Additionally, by calculating the next state of the comparison and checking result in advance based on the enqueue / dequeue status of the issue queue determined in the
current cycle, and updating it directly in the next cycle, it ensures a one-to-one correspondence between the address comparison and checking result and the new instruction position in the issue queue, while also optimizing timing.