Invention Grant
US08478970B2 Accessing value for local variable from function call stack upon offset matching with instruction extracted stack pointer offset or from cache
有权
通过与指令提取的堆栈指针偏移或从缓存进行偏移匹配,从函数调用堆栈访问局部变量的值
- Patent Title: Accessing value for local variable from function call stack upon offset matching with instruction extracted stack pointer offset or from cache
- Patent Title (中): 通过与指令提取的堆栈指针偏移或从缓存进行偏移匹配,从函数调用堆栈访问局部变量的值
-
Application No.: US12832313Application Date: 2010-07-08
-
Publication No.: US08478970B2Publication Date: 2013-07-02
- Inventor: Young Su Kwon , Nak Woong Eum , Seong Mo Park
- Applicant: Young Su Kwon , Nak Woong Eum , Seong Mo Park
- Applicant Address: KR Daejeon
- Assignee: Electronics and Telecommunications Research Institute
- Current Assignee: Electronics and Telecommunications Research Institute
- Current Assignee Address: KR Daejeon
- Agency: Rabin & Berdo, P.C.
- Priority: KR10-2009-0081450 20090831
- Main IPC: G06F9/312
- IPC: G06F9/312 ; G06F12/08

Abstract:
There is provided a method and apparatus for accessing a memory according to a processor instruction. The apparatus includes: a stack offset extractor extracting an offset value from a stack pointer offset indicating a local variable in the processor instruction; a local stack storage including a plurality of items, each of which is formed of an activation bit indicating whether each item is activated, an offset storing an offset value of a stack pointer, and an element storing a local variable value of the stack pointer; an offset comparator comparing the extracted offset value with an offset value of each item and determining whether an item corresponding to the extracted offset value is present in the local stack storage; and a stack access controller controlling a processor to access the local stack storage or a cache memory according to a determining result of the offset comparator.
Public/Granted literature
- US20110055526A1 METHOD AND APPARATUS FOR ACCESSING MEMORY ACCORDING TO PROCESSOR INSTRUCTION Public/Granted day:2011-03-03
Information query