Invention Grant
US08478970B2 Accessing value for local variable from function call stack upon offset matching with instruction extracted stack pointer offset or from cache 有权
通过与指令提取的堆栈指针偏移或从缓存进行偏移匹配,从函数调用堆栈访问局部变量的值

Accessing value for local variable from function call stack upon offset matching with instruction extracted stack pointer offset or from cache
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.
Information query
Patent Agency Ranking
0/0