Invention Grant
- Patent Title: Processing long-latency instructions in a pipelined processor
- Patent Title (中): 处理流水线处理器中的长延迟指令
-
Application No.: US11805364Application Date: 2007-05-23
-
Publication No.: US08214624B2Publication Date: 2012-07-03
- Inventor: Morrie Berglas , Yoong Chert Foo
- Applicant: Morrie Berglas , Yoong Chert Foo
- Applicant Address: GB Hertfordshire
- Assignee: Imagination Technologies Limited
- Current Assignee: Imagination Technologies Limited
- Current Assignee Address: GB Hertfordshire
- Agency: Flynn, Thiel, Boutell & Tanis, P.C.
- Priority: GB0705804.3 20070326
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/40 ; G06F9/00 ; G06F9/44 ; G06F7/38

Abstract:
There are provided a method and a processor for processing a thread. The thread includes a plurality of sequential instructions. The plurality of sequential instructions include some short-latency instructions and some long-latency instructions and at least one hazard instruction. The hazard instruction requires one or more preceding instructions to be processed before the hazard instruction is processed. The method includes the steps of: a) before processing each long-latency instruction, incrementing by one, a counter associated with the thread; b) after each long-latency instruction has been processed, decrementing by one, the counter associated with the thread; c) before processing each hazard instruction, checking the value of the counter associated with the thread, and i) if the counter value is zero, processing the hazard instruction, or ii) if the counter value is non-zero, pausing processing of the hazard instruction until a later time. The processor includes means for performing steps a), b) and c) of the method.
Public/Granted literature
- US20080244247A1 Processing long-latency instructions in a pipelined processor Public/Granted day:2008-10-02
Information query