Invention Grant
- Patent Title: Stack pointer value prediction
-
Application No.: US14596407Application Date: 2015-01-14
-
Publication No.: US09652240B2Publication Date: 2017-05-16
- Inventor: Hugh Jackson
- Applicant: Imagination Technologies Limited
- Applicant Address: GB Kings Langley
- Assignee: Imagination Technologies Limited
- Current Assignee: Imagination Technologies Limited
- Current Assignee Address: GB Kings Langley
- Agency: Vorys, Sater, Seymour and Pease LLP
- Agent Vincent M DeLuca
- Priority: GB1400806.4 20140117
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/312 ; G06F12/02 ; G06F9/30 ; G06F9/38 ; G06F12/0875

Abstract:
Methods and apparatus for predicting the value of a stack pointer which store data when an instruction is seen which grows the stack. The information which is stored includes a size parameter which indicates by how much the stack is grown and one or both of: the register ID currently holding the stack pointer value or the current stack pointer value. When a subsequent instruction shrinking the stack is seen, the stored data is searched for one or more entries which has a corresponding size parameter. If such an entry is identified, the other information stored in that entry is used to predict the value of the stack pointer instead of using the instruction to calculate the new stack pointer value. Where register renaming is used, the information in the entry is used to remap the stack pointer to a different physical register.
Public/Granted literature
- US20150205611A1 Stack Pointer Value Prediction Public/Granted day:2015-07-23
Information query