IP Library Granted Patent US 8,966,229
Granted Patent B2
US 8,966,229 · App. 13/212,420 · Granted Feb 24, 2015

Systems and methods for handling instructions of in-order and out-of-order execution queues

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,966,229
App. No.
13/212,420
Granted
Feb 24, 2015
Kind
B2
Abstract

Processing systems and methods are disclosed that can include an instruction unit which provides instructions for execution by the processor; a decode/issue unit which decodes instructions received from the instruction unit and issues the instructions; and a plurality of execution queues coupled to the decode/issue unit, wherein each issued instruction from the decode/issue unit can be stored into an entry of at least one queue of the plurality of execution queues. The plurality of queues can comprise an independent execution queue, a dependent execution queue, and a plurality of execution units coupled to receive instructions for execution from the plurality of execution queues. The plurality of execution units can comprise a first execution unit, coupled to receive instructions from the dependent execution queue and the independent execution queue which have been selected for execution. When a multi-cycle instruction at a bottom entry of the dependent execution queue is selected for execution, it may not be removed from the dependent execution queue until a result is received from the first execution unit. When a multi-cycle instruction at a bottom entry of the independent execution queue is selected for execution, it can be removed from the independent execution queue without waiting to receive a result from the first execution unit.

Claims (59)

1. A processor, comprising:

an instruction unit which provides instructions for execution by the processor;

a decode/issue unit which decodes instructions received from the instruction unit and issues the instructions; and

a plurality of execution queues coupled to the decode/issue unit, wherein each issued instruction from the decode/issue unit is stored into an entry of at least one queue of the plurality of execution queues, wherein the plurality of queues comprises:

an independent execution queue; and

a dependent execution queue; and

a plurality of execution units coupled to receive instructions for execution from the plurality of execution queues, wherein the plurality of execution units comprises:

a first execution unit, coupled to receive instructions from the dependent execution queue and the independent execution queue which have been selected for execution;

wherein:

when a multi-cycle instruction at a bottom entry of the dependent execution queue is selected for execution, it is not removed from the dependent execution queue until a result is received from the first execution unit, and

when a multi-cycle instruction at a bottom entry of the independent execution queue is selected for execution, it is removed from the independent execution queue without waiting to receive a result from the first execution unit

wherein the decode/issue unit is configured to, in response to receiving a multi-cycle pipelined instruction, decode the multi-cycle pipelined instruction and determine whether an operand of the multi-cycle pipelined instruction includes a dependency on any instruction in the plurality of execution queues, wherein:

when the decode/issue unit determines that an operand of the multi-cycle pipelined instruction does not include a dependency on an instruction in the dependent execution queue, the multi-cycle pipelined instruction is stored in a first entry of the dependent execution queue and selectively stored in a first entry of the independent execution queue.

2. The processor of claim 1 , wherein the decode/issue unit is configured to, in response to receiving a multi-cycle pipelined instruction, decode the multi-cycle pipelined instruction and determine whether an operand of the multi-cycle pipelined instruction includes a dependency on any instruction in the plurality of execution queues, wherein:

when the decode/issue unit determines that an operand of the multi-cycle pipelined instruction includes a dependency on an instruction in the dependent execution queue, the multi-cycle pipelined instruction is stored in a first entry of the dependent execution queue.

3. The processor of claim 1 , wherein the multi-cycle pipelined instruction is further characterized as a complex integer instruction and the first execution unit is further characterized as a complex integer instruction unit.

4. The processor of claim 1 , wherein when the decode/issue unit determines that the dependent execution queue is empty, the multi-cycle pipelined instruction is not stored in the first entry of the independent execution queue.

5. The processor of claim 1 , wherein when the decode/issue unit determines that an operand of the multi-cycle pipelined instruction does not include a dependency on an instruction in the dependent execution queue and the dependent execution queue is not empty, the multi-cycle pipelined instruction is stored in the first entry of the independent execution queue.

6. The processor of claim 5 , wherein when the multi-cycle pipelined instruction is stored in the independent execution queue, a result pending indicator for the multi-cycle pipelined instruction in the first entry is asserted to indicate that it is waiting for result data from the first execution unit for the multi-cycle pipelined instruction provided to the first execution unit from the independent execution queue.

7. The processor of claim 1 , wherein when a multi-cycle instruction at the bottom entry of the dependent execution queue is selected for execution by the first execution unit, a corresponding result pending bit for the multi-cycle instruction at the bottom entry of the dependent execution queue is asserted to indicate that it is waiting for result data from the first execution unit.

8. The processor of claim 1 , wherein when a single-cycle instruction at a bottom entry of the dependent execution queue is selected for execution, it is immediately removed from the dependent execution queue upon selection for execution.

9. In a processor having a decode/issue unit, an independent execution queue and a dependent execution queue, and an execution unit coupled to receive instructions from each of the independent and dependent execution queues, a method comprising:

receiving a first multi-cycle pipelined instruction;

decoding the first multi-cycle pipelined instruction by the decode/issue unit to determine operands of the first multi-cycle pipelined instruction;

determining whether an operand of the first multi-cycle pipelined instruction includes a dependency on any instruction stored in the dependent execution queue;

when an operand of the first multi-cycle pipelined instruction includes a dependency on any instruction stored in the dependent execution queue, storing the first multi-cycle pipelined instruction in a first entry of the dependent execution queue; and

when an operand of the first multi-cycle pipelined instruction does not include a dependency on any instruction stored in the dependent execution queue, the method comprises:

selectively storing the first multi-cycle pipelined instruction in a first entry of the independent execution queue based on whether or not the dependent execution queue is empty; and

storing the first multi-cycle pipelined instruction in a first entry of the dependent execution queue.

10. The method of claim 9 , wherein the step of selectively storing the first multi-cycle pipelined instruction in a first entry of the independent execution queue comprises:

storing the first multi-cycle pipelined instruction in the first entry of the independent execution queue when the dependent execution queue is not empty; and

not storing the first multi-cycle pipelined instruction in the first entry of the independent execution queue when the dependent execution queue is empty.

11. The method of claim 10 , wherein when the first multi-cycle pipelined instruction is stored in the first entry of the independent execution queue, the method further comprises:

setting a result pending indicator for the first multi-cycle pipelined instruction in the first entry of the dependent execution queue to indicate that it is waiting for result data from the execution unit for the first multi-cycle pipelined instruction provided to the execution unit from the independent execution queue.

12. The method of claim 9 , further comprising:

when a multi-cycle instruction reaches a bottom entry of the dependent execution queue and is selected for execution, not removing the multi-cycle instruction from the dependent execution queue until a result is received from the execution unit; and

when a multi-cycle instruction reaches a bottom entry of the independent execution queue and is selected for execution, removing the multi-cycle instruction from the independent execution queue without waiting to receive a result from the execution unit.

13. The method of claim 9 , wherein the processor has a load/store execution queue, and a load/store execution unit, the method further comprising:

determining that an operand of the first multi-cycle pipelined instruction includes a dependency on a load instruction in a first entry of the load/store execution queue;

setting a synchronization indicator corresponding to the first multi-cycle pipelined instruction in a second entry of the load/store execution queue which is immediately adjacent the first entry of the load/store execution queue to indicate that the first multi-cycle pipelined instruction is stored in the dependent or independent execution queue and to indicate a location of the stored first multi-cycle pipelined instruction.

14. The method of claim 13 , further comprising:

setting a synchronization pending indicator for the first multi-cycle pipelined instruction in the first entry of the independent execution queue to indicate that the first multi-cycle pipelined instruction has a corresponding synchronization indicator stored in another execution queue.

15. The method of claim 14 , further comprising:

after the load instruction reaches a bottom entry of the load/store execution queue and is selected for execution, removing the load instruction from the load/store execution queue when a result is received for the load instruction, wherein, after the load instruction is removed from the load/store execution queue, the synchronization indicator for the first multi-cycle pipelined instruction reaches the bottom entry of the load/store execution queue; and

when the synchronization indicator for the first multi-cycle pipelined instruction is at the bottom entry of the load/store execution queue, providing a synchronization clear indicator to clear the synchronization pending indicator in the first entry of the independent execution queue to indicate that the first multi-cycle pipelined instruction is ready for selection for execution.

16. The method of claim 15 , further comprising:

after providing the synchronization clear indicator, removing the synchronization indicator from the bottom entry of the load/store execution queue.

17. In a processor having a decode/issue unit, an independent execution queue and a dependent execution queue, and an execution unit coupled to receive multi-cycle pipelined instructions from each of the independent and dependent execution queues, a method comprising:

receiving a first multi-cycle pipelined instruction;

decoding the first multi-cycle pipelined instruction by the decode/issue unit to determine operands of the first multi-cycle pipelined instruction;

determining whether an operand of the first multi-cycle pipelined instruction includes a dependency on any instruction stored in the dependent execution queue;

when an operand of the first multi-cycle pipelined instruction does not include a dependency on any instruction stored in the dependent execution queue, determining whether the dependent execution queue is empty, and when the dependent execution queue is empty, storing the first multi-cycle pipelined instruction in a first entry of the dependent execution queue, and when the dependent execution queue is not empty, storing the first multi-cycle pipelined instruction in a first entry of the dependent execution queue and in a first entry of the independent execution queue, and setting a result pending indicator for the first multi-cycle pipelined instruction in the first entry of the dependent execution queue to indicate that it is waiting for result data; and

when an operand of the first multi-cycle pipelined instruction includes a dependency on any instruction stored in the dependent execution queue, storing the first multi-cycle pipelined instruction in a first entry of the dependent execution queue.

18. The method of claim 17 , further comprising:

when a multi-cycle instruction reaches a bottom entry of the dependent execution queue and is selected for execution, not removing the multi-cycle instruction from the dependent execution queue until a result is received from the execution unit; and

when a multi-cycle instruction reaches a bottom entry of the independent execution queue and is selected for execution, removing the multi-cycle instruction from the independent execution queue without waiting to receive a result from the execution unit.

19. The method of claim 17 , wherein the processor has a load/store execution queue, and a load/store execution unit, the method further comprising:

determining that an operand of the first multi-cycle pipelined instruction includes a dependency on a load instruction in a first entry of the load/store execution queue;

setting a synchronization indicator corresponding to the first multi-cycle pipelined instruction in a second entry of the load/store execution queue which is immediately adjacent the first entry of the load/store execution queue to indicate that the first multi-cycle pipelined instruction is stored in the dependent or independent execution queue and to indicate a location of the stored first multi-cycle pipelined instruction.

Assignments (31)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042762 FRAME 0145. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051145/0184 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051030/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042985 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0387 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050745/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042985/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042762/0145 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE PREVIOUSLY RECORDED AT REEL: 040652 FRAME: 0241. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Jan 5, 2017
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 041260/0850 →
MERGER Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 040652/0241 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12092129 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Jul 14, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039361/0212 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
SECURITY AGREEMENT SUPPLEMENT Recorded Mar 7, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 038017/0058 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0334 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0285 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0387 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027622/0477 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027622/0075 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027621/0928 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 24, 2011
From: TRAN, THANG M.; NGUYEN, TRINH HUY H.
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 026796/0594 →