| CPC G06F 9/3856 (2023.08) [G06F 9/30036 (2013.01)] | 20 Claims |

|
1. A method for selecting an entry of a queue in an out-of-order processor, comprising:
acquiring a tag value of each entry in the queue;
generating a mask bit vector of the queue based on the tag value of each entry;
generating an executable bit vector of the queue based on indication information of each entry in the queue, wherein the indication information is configured to indicate whether a corresponding entry satisfies an executable condition;
generating a selection bit vector of the queue based on the mask bit vector and the executable bit vector; and
determining an entry corresponding to a target bit in the selection bit vector as an executable entry, wherein the target bit is a first bit in the selection bit vector, and a value of the first bit is equal to a first preset value.
|