首页> 外国专利> BYTECODE INSTRUCTION PROCESSOR WITH SWITCH INSTRUCTION HANDLING LOGIC

BYTECODE INSTRUCTION PROCESSOR WITH SWITCH INSTRUCTION HANDLING LOGIC

机译:带开关指令处理逻辑的BYTECODE指令处理器

摘要

A circuit arrangement and method facilitate the execution of switch instructions such as Java lookupswitch and tableswitch instructions in hardware through emulation of such instructions using a plurality of conditional branch instructions from the same instruction set as the switch instructions, and which are capable of being directly implemented in hardware. The conditional branch instructions are typically generated by switch instruction handling logic (118) and passed to execution logic (82) capable of natively executing the conditional branch instructions. By emulating a complex switch instruction in switch instruction handling logic using a plurality of conditional branch instructions from the same instruction set, often the amount of custom circuitry needed to fully support a complex switch instruction is substantially reduced from what would be required to natively support the switch instruction in the execution logic (82) of a hardware processor (48). Moreover, compared to software emulation, which typically requires passing control to a software interpreter, the overhead associated with emulating a switch instruction in the instruction fetch logic (66) using multiple conditional branch instructions capable of being natively executed by execution logic (82) offers substantial gains in performance.
机译:一种电路装置和方法,通过使用来自与该开关指令相同的指令集中的多个条件分支指令来仿真这样的指令,从而有助于在硬件中执行诸如Java lookupswitch和tableswitch指令之类的开关指令,并且能够直接实现这些条件指令在硬件上。条件分支指令通常由切换指令处理逻辑(118)生成,并传递到能够本地执行条件分支指令的执行逻辑(82)。通过使用来自同一指令集的多个条件分支指令在开关指令处理逻辑中模拟复杂的开关指令,通常会大大减少完全支持复杂的开关指令所需的自定义电路数量,而其本机支持的定制电路数量却大大减少了在硬件处理器(48)的执行逻辑(82)中切换指令。此外,与通常需要将控制传递给软件解释器的软件仿真相比,与使用能够由执行逻辑(82)本地执行的多个条件分支指令在指令获取逻辑(66)中仿真切换指令相关的开销提供了业绩大幅度提高。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号