发明名称 Methods and apparatus for fusing instructions to provide or-test and and-test functionality on multiple test sources
摘要 Test instructions 1522, e.g. AND-test or OR-test, are dynamically provided by fusing logical instructions with prior-art test instructions. A first processor pipeline fetches first and second instructions 1512 and branch instruction 1514. The first and second instructions comprise a first operand destination and a second operand source, respectively. A second pipeline decodes the first and second instructions fusing them into single micro-operation 1522 if the operand source and destination are the same (e.g. a single register, TEMP) and if branching depends upon the second instruction. The first instruction is a logical AND or OR (AND/OR), while the second instruction is test instruction TEST, which compares the results of the logical operation against a mask and sets a corresponding flag CC. Branching instruction JCC 1514 jumps to a slower generic code sequence depending on the flag. Performance for frequently executed type testing instruction idioms generated by just-in-time (JIT) compilers is improved.
申请公布号 GB2512726(A) 申请公布日期 2014.10.08
申请号 GB20140002906 申请日期 2014.02.19
申请人 INTEL CORPORATION 发明人 MAXIM LOKTYUKHIN;ROBERT C VALENTINE;JULIAN C HORN;MARK J CHARNEY
分类号 G06F9/30;G06F9/38 主分类号 G06F9/30
代理机构 代理人
主权项
地址