首页> 外国专利> Methods and apparatus for fusing instructions to provide or-test and and-test functionality on multiple test sources

Methods and apparatus for fusing instructions to provide or-test and and-test functionality on multiple test sources

机译:用于融合指令以在多个测试源上提供or-test和and-test功能的方法和设备

摘要

Methods and apparatus are disclosed for fusing instructions to provide OR-test and AND-test functionality on multiple test sources. Some embodiments include fetching instructions, said instructions including a first instruction specifying a first operand destination, a second instruction specifying a second operand source, and a third instruction specifying a branch condition. A portion of the plurality of instructions are fused into a single micro-operation, the portion including both the first and second instructions if said first operand destination and said second operand source are the same, and said branch condition is dependent upon the second instruction. Some embodiments generate a novel test instruction dynamically by fusing one logical instruction with a prior-art test instruction. Other embodiments generate the novel test instruction through a just-in-time compiler. Some embodiments also fuse the novel 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号