首页> 外国专利> Combinable instructions and logic to realize logical sum test and logical product test function using multiple test sources

Combinable instructions and logic to realize logical sum test and logical product test function using multiple test sources

机译:组合指令和逻辑,使用多个测试源实现逻辑和测试和逻辑乘积测试功能

摘要

Fusible instructions and logic provide OR-test and AND-test functionality on multiple test sources. Some embodiments include a processor decode stage to decode a test instruction for execution, the instruction specifying first, second and third source data operands, and an operation type. Execution units, responsive to the decoded test instruction, perform one logical operation, according to the specified operation type, between data from the first and second source data operands, and perform a second logical operation between the data from the third source data operand and the result of the first logical operation to set a condition flag. Some embodiments generate the test instruction dynamically by fusing one logical instruction with a prior-art test instruction. Other embodiments generate the test instruction through a just-in-time compiler. Some embodiments also fuse the test instruction with a subsequent conditional branch instruction, and perform a branch according to how the condition flag is set.
机译:易变的指令和逻辑可在多个测试源上提供“或”测试和“与”测试功能。一些实施例包括处理器解码级,其对要执行的测试指令进行解码,该指令指定第一,第二和第三源数据操作数以及操作类型。执行单元响应于解码的测试指令,根据指定的操作类型,在来自第一源数据操作数和第二源数据操作数的数据之间执行一个逻辑运算,并在来自第三源数据操作数的数据与第二源数据操作数之间进行第二逻辑运算。设置条件标志的第一个逻辑运算的结果。一些实施例通过将一个逻辑指令与现有技术的测试指令融合来动态地生成测试指令。其他实施例通过即时编译器生成测试指令。一些实施例还将测试指令与随后的条件分支指令融合,并根据条件标记的设置方式执行分支。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号