Invention Grant
- Patent Title: Determination of current stack pointer value using architectural and speculative stack pointer delta values
- Patent Title (中): 使用架构和推测堆栈指针增量值来确定当前堆栈指针值
-
Application No.: US11690029Application Date: 2007-03-22
-
Publication No.: US07685406B2Publication Date: 2010-03-23
- Inventor: Christopher Svec , Faisal Syed , Michael E. Tuuk , Benjamin T. Sander , Gregory W. Smaus
- Applicant: Christopher Svec , Faisal Syed , Michael E. Tuuk , Benjamin T. Sander , Gregory W. Smaus
- Applicant Address: US CA Sunnyvale
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Sunnyvale
- Main IPC: G06F12/06
- IPC: G06F12/06

Abstract:
A technique for reducing stack pointer adjustment operations when stack dependent operations, which correspond to stack dependent instructions, are encountered includes setting a stack pointer to an initial value for a stack. A number of bytes associated with the stack dependent operation is determined. A stack pointer delta is then modified based upon the number of bytes associated with the stack dependent operation. A current location in the stack is determined based on the stack pointer and the stack pointer delta.
Public/Granted literature
- US20080235491A1 Techniques for Maintaining a Stack Pointer Public/Granted day:2008-09-25
Information query