发明授权
- 专利标题: Apparatus and method for patching an instruction by providing a substitute instruction or instructions from an external memory responsive to detecting an opcode of the instruction
- 专利标题(中): 响应于检测到指令的操作码,通过从外部存储器提供替代指令或指令来修补指令的装置和方法
-
申请号: US873733申请日: 1997-06-12
-
公开(公告)号: US5983337A公开(公告)日: 1999-11-09
- 发明人: Rupaka Mahalingaiah , Thang Tran
- 申请人: Rupaka Mahalingaiah , Thang Tran
- 申请人地址: CA Sunnyvale
- 专利权人: Advanced Micro Devices, Inc.
- 当前专利权人: Advanced Micro Devices, Inc.
- 当前专利权人地址: CA Sunnyvale
- 主分类号: G06F9/26
- IPC分类号: G06F9/26 ; G06F9/318 ; G06F9/445 ; G06F15/00 ; G06F9/00 ; G06F9/30
摘要:
A superscalar microprocessor implements instruction level patching. A instruction fetch unit includes a register for storing opcodes of instructions to be patched. When an instruction is fetched, the instruction fetch unit compares the opcode of the fetched instruction to the opcode stored in the patch opcode register. If the opcode of the fetched instruction matches an opcode stored in the patch opcode register, the instruction is dispatched to a microcode instruction unit. The microcode instruction unit invokes a patch microcode routine that dispatches a plurality of microcode instruction that causes a substitute microcode instruction stored in external memory to be loaded into patch data registers. The microcode instruction unit then dispatches the substitute instruction stored in the patch data registers and the substitute instruction is executed by a functional unit in place of the original instruction.
公开/授权文献
- USD340994S End support brace for a sawhorse 公开/授权日:1993-11-02
信息查询