Invention Grant
US07802078B2 REP MOVE string instruction execution by selecting loop microinstruction sequence or unrolled sequence based on flag state indicative of low count repeat 有权
REP通过选择循环微指令序列或基于表示低计数重复的标志状态的展开序列来执行字符串指令

  • Patent Title: REP MOVE string instruction execution by selecting loop microinstruction sequence or unrolled sequence based on flag state indicative of low count repeat
  • Patent Title (中): REP通过选择循环微指令序列或基于表示低计数重复的标志状态的展开序列来执行字符串指令
  • Application No.: US12270010
    Application Date: 2008-11-13
  • Publication No.: US07802078B2
    Publication Date: 2010-09-21
  • Inventor: G. Glenn HenryTerry Parks
  • Applicant: G. Glenn HenryTerry Parks
  • Applicant Address: TW Taipei
  • Assignee: VIA Technologies, Inc.
  • Current Assignee: VIA Technologies, Inc.
  • Current Assignee Address: TW Taipei
  • Agent E. Alan Davis; James W. Huffman
  • Main IPC: G06F9/22
  • IPC: G06F9/22
REP MOVE string instruction execution by selecting loop microinstruction sequence or unrolled sequence based on flag state indicative of low count repeat
Abstract:
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.
Public/Granted literature
Information query
Patent Agency Ranking
0/0