Invention Grant
US07975132B2 Apparatus and method for fast correct resolution of call and return instructions using multiple call/return stacks in the presence of speculative conditional instruction execution in a pipelined microprocessor
有权
在存在流水线微处理器中的推测性条件指令执行的情况下,使用多个调用/返回堆栈快速正确解析呼叫和返回指令的装置和方法
- Patent Title: Apparatus and method for fast correct resolution of call and return instructions using multiple call/return stacks in the presence of speculative conditional instruction execution in a pipelined microprocessor
- Patent Title (中): 在存在流水线微处理器中的推测性条件指令执行的情况下,使用多个调用/返回堆栈快速正确解析呼叫和返回指令的装置和方法
-
Application No.: US12481074Application Date: 2009-06-09
-
Publication No.: US07975132B2Publication Date: 2011-07-05
- Inventor: Brent Bean , Terry Parks , G. Glenn Henry
- Applicant: Brent Bean , Terry Parks , G. Glenn Henry
- Applicant Address: TW Taipei
- Assignee: VIA Technologies, Inc.
- Current Assignee: VIA Technologies, Inc.
- Current Assignee Address: TW Taipei
- Agent E. Alan Davis; James W. Huffman
- Main IPC: G06F9/38
- IPC: G06F9/38

Abstract:
A microprocessor having a plurality of call/return stacks (CRS) correctly resolves a call or return instruction rather than issuing the instruction to execution units of the microprocessor to be resolved. The microprocessor fetches a call or return instruction and determines whether the instruction is the first call or return instruction fetched after fetching a conditional branch instruction that has yet to be resolved. The microprocessor copies the contents of a current CRS to another CRS and designates the other CRS as the current CRS, if the state exists. The microprocessor pushes the address of the next sequential instruction following the call instruction onto the current CRS and fetches an instruction at the call instruction target address if the instruction is a call instruction. The microprocessor pops a second return address from the current CRS and fetches an instruction at the second return address, if the instruction is a return instruction.
Public/Granted literature
Information query