# US 2017/0286120 A1 · Apparatus and method to maximize execution lane utilization through a custom high throughput scheduler

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0286120 A1
- Document ID: US20170286120A1
- Status: Published application
- Kind: A1
- Application number: 15/086,052
- Filed: 2016-03-30
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Milind Ram KULKARNI; Rami Mohammad A. AL SHEIKH; Raguram DAMODARAN
- Web page: https://patentgrep.com/patent/US20170286120A1

## CPC

- G06F 9/3005: {to perform operations for flow control}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A scheduler with a picker block capable of dispatching multiple instructions per cycle is disclosed. The picker block may comprise an inter-group picker and an intra-group picker. The inter-group picker may be configured to pick multiple ready groups when there are two or more ready groups among a plurality of groups of instructions, and pick a single ready group when the single ready group is the only ready group among the plurality of groups. The intra-group picker may be configured to pick one ready instruction from each of the multiple ready groups when the inter-group picker picks the multiple ready groups, and to pick multiple ready instructions from the single ready group when the inter-group picker picks the single ready group.

## Claims

### Claim 1

A scheduler, comprising:
an inter-group picker configured to pick:
multiple ready groups when there are two or more ready groups among a plurality of groups, each ready group having one or more ready instructions, and
a single ready group when the single ready group is the only ready group among the plurality of groups; and
an intra-group picker configured to pick:
one ready instruction from each of the multiple ready groups when the inter-group picker picks the multiple ready groups, and
multiple ready instructions from the single ready group when the inter-group picker picks the single ready group.

### Claim 2 (depends on 1)

The scheduler of claim 1, the inter-group picker being configured to pick the ready groups and the intra-group picker being configured to pick the ready instructions in parallel.

### Claim 3 (depends on 1)

The scheduler of claim 1, the intra-group picker being configured to pick the ready instructions in an order of priority.

### Claim 4 (depends on 3)

The scheduler of claim 3, the order of priority being from an oldest ready instruction to a newest ready instruction.

### Claim 5 (depends on 1)

The scheduler of claim 1,
the inter-group picker being configured to pick an oldest ready group and a newest ready group when there are two or more ready groups among the plurality of groups, and
the intra-group picker being configured to pick:
one ready instruction from each of the oldest and newest ready groups when the inter-group picker picks the oldest and newest ready groups, and
up to two ready instructions the single ready group when the inter-group picker picks the single ready group.

### Claim 6 (depends on 5)

The scheduler of claim 5, the inter-group picker comprising a grant new line which when evaluated as being set indicates that a group associated with the grant new line is the newest ready group.

### Claim 7 (depends on 6)

The scheduler of claim 6, the inter-group picker being configured to replace a first ready instruction of an existing newest group on the grant new line by a second ready instruction of a group that is newer than the existing newest group in a next cycle.

### Claim 8 (depends on 6)

The scheduler of claim 6, the inter-group picker further comprising a grant old line which when evaluated as being set indicates that a group associated with the grant old line is the oldest ready group.

### Claim 9 (depends on 8)

The scheduler of claim 8, a first ready instruction of an existing oldest group on the grant old line being replaced by a second ready instruction of a group that is older than the existing oldest group.

### Claim 10 (depends on 8)

The scheduler of claim 8, the inter-group picker comprising an indicator to indicate to the intra-group picker to pick either one or two instructions based on the grant new line and the grant old line.

### Claim 11 (depends on 10)

The scheduler of claim 10, the indicator comprising a NAND gate having inputs coupled to the grant new line and the grant old line.

### Claim 12 (depends on 5)

The scheduler of claim 5, the intra-group picker being configured to pick one or two ready instructions from a group associated with the intra-group picker based on any combination of the following:
a number of instructions bidding in the associated group,
a number of instructions already picked by lower intra-group picker(s), and
whether or not there are ready groups other than the associated group.

### Claim 13 (depends on 12)

The scheduler of claim 12, the intra-group picker being configured notify to a higher intra-group picker a number of instructions picked by the intra-group picker and the lower intra-group picker(s).

### Claim 14

A method of picking instruction in a scheduler, the method comprising:
picking ready groups such that
multiple ready groups are picked when there are two or more ready groups among a plurality of groups, each ready group having one or more ready instructions, and
a single ready group is picked when the single ready group is the only ready group among the plurality of groups; and
picking ready instructions such that
one ready instruction is picked from each of the multiple ready groups when the multiple ready groups are picked, and
multiple ready instructions are picked from the single ready group when the single ready group is picked.

### Claim 15 (depends on 14)

The method of claim 14, picking the ready groups and picking the ready instructions occurring in parallel.

### Claim 16 (depends on 14)

The method of claim 14, picking the ready instructions comprising picking the ready instructions in an order of priority.

### Claim 17 (depends on 16)

The method of claim 16, the order of priority being from an oldest ready instruction to a newest ready instruction.

### Claim 18 (depends on 14)

The method of claim 14,
picking the multiple ready groups comprising picking an oldest ready group and a newest ready group when there are two or more ready groups among the plurality of groups,
picking the one ready instruction each from each of the multiple ready groups comprising picking one ready instruction from each of the oldest and newest ready groups, and
picking the multiple ready instructions from the single ready group comprising picking up to two ready instructions from the single ready group.

### Claim 19 (depends on 18)

The method of claim 18, further comprising setting a grant new line of an inter-group picker of the scheduler when a group associated with the grant new line is the newest ready group.

### Claim 20 (depends on 19)

The method of claim 19, further comprising replacing a first ready instruction of an existing newest group on the grant new line with a second ready instruction of a group that is newer than the existing newest group.

### Claim 21 (depends on 19)

The method of claim 19, further comprising setting a grant old line of the inter-group picker of the scheduler when a group associated with the grant old line is the oldest ready group.

### Claim 22 (depends on 21)

The method of claim 21, further comprising replacing a first ready instruction of an existing oldest group on the grant old line with a second ready instruction of a group that is older than the existing oldest group.

### Claim 23 (depends on 21)

The method of claim 21, further comprising the inter-group picker indicating to an intra-group picker to pick either one or two instructions based on the grant new line and the grant old line.

### Claim 24 (depends on 18)

The method of claim 18, picking the ready instructions comprising picking one or two ready instructions from a group associated with an intra-group picker based on any combination of the following:
a number of instructions bidding in the associated group,
a number of instructions already picked by lower intra-group picker(s), and
whether or not there are ready groups other than the associated group.

### Claim 25 (depends on 24)

The method of claim 24, further comprising the intra-group picker notifying to a higher intra-group picker a number of instructions picked by the intra-group picker and the lower intra-group picker(s).

### Claim 26

A scheduler, comprising:
means for inter-group picking configured to pick
multiple ready groups when there are two or more ready groups among a plurality of groups, each ready group having one or more ready instructions, and
a single ready group when the single ready group is the only ready group among the plurality of groups; and
means for intra-group picking configured to pick
one ready instruction from each of the multiple ready groups when the means for inter-group picking picks the multiple ready groups, and
multiple ready instructions picked from the single ready group when the means for inter-group picking means picks the single ready group.

### Claim 27 (depends on 26)

The scheduler of claim 26, the means for inter-group picking and the means for intra-group picking operating in parallel.

### Claim 28 (depends on 26)

The scheduler of claim 26,
the means for inter-group picking configured to pick an oldest ready group and a newest ready group when there are two or more ready groups among the plurality of groups, and
the means for intra-group picking configured to pick
one ready instruction from each of the oldest and newest ready groups when the inter-group picking means picks the oldest and newest ready groups, and
up to two ready instructions the single ready group when the inter-group picking means picks the single ready group.

### Claim 29 (depends on 28)

The scheduler of claim 28, the means intra-group picking picking one or two ready instructions from a group associated with the means for intra-group picking based on any combination of the following:
a number of instructions bidding in the associated group,
a number of instructions already picked by lower intra-group picking means, and
whether or not there are ready groups other than the associated group.

### Claim 30

A non-transitory computer-readable medium having a code recorded thereon that causes a computer to perform a method of picking instruction in a scheduler, the method comprising:
picking ready groups such that
multiple ready groups are picked when there are two or more ready groups among a plurality of groups, each ready group having one or more ready instructions, and
a single ready group is picked when the single ready group is the only ready group among the plurality of groups; and
picking ready instructions such that
one ready instruction is picked from each of the multiple ready groups when the multiple ready groups are picked, and
multiple ready instructions are picked from the single ready group when the single ready group is picked.
