发明授权
US07802078B2 REP MOVE string instruction execution by selecting loop microinstruction sequence or unrolled sequence based on flag state indicative of low count repeat
有权
REP通过选择循环微指令序列或基于表示低计数重复的标志状态的展开序列来执行字符串指令
- 专利标题: REP MOVE string instruction execution by selecting loop microinstruction sequence or unrolled sequence based on flag state indicative of low count repeat
- 专利标题(中): REP通过选择循环微指令序列或基于表示低计数重复的标志状态的展开序列来执行字符串指令
-
申请号: US12270010申请日: 2008-11-13
-
公开(公告)号: US07802078B2公开(公告)日: 2010-09-21
- 发明人: G. Glenn Henry , Terry Parks
- 申请人: G. Glenn Henry , Terry Parks
- 申请人地址: TW Taipei
- 专利权人: VIA Technologies, Inc.
- 当前专利权人: VIA Technologies, Inc.
- 当前专利权人地址: TW Taipei
- 代理商 E. Alan Davis; James W. Huffman
- 主分类号: G06F9/22
- IPC分类号: G06F9/22
摘要:
A microprocessor REP MOVS macroinstruction specifies the word length of the string in the IA-32 ECX register. The microprocessor includes a memory, configured to store a first and second sequence of microinstructions. The first sequence conditionally transfers control to a microinstruction within the first sequence based on the ECX register. The second sequence does not conditionally transfer control based on the ECX register. The microprocessor includes an instruction translator, coupled to the memory. In response to a macroinstruction that moves an immediate value into the ECX register, the instruction translator sets a flag and saves the immediate value. In response to a macroinstruction that modifies the ECX register in a different manner, the translator clears the flag. In response to a REP MOVS macroinstruction, the instruction translator transfers control to the first sequence if the flag is clear; and transfers control to the second sequence if the flag is set.
公开/授权文献
- US20100064122A1 FAST STRING MOVES 公开/授权日:2010-03-11
信息查询