Supercharge Your Innovation With Domain-Expert AI Agents!

Microprocessor and microprocessor method

A microprocessor and micro-instruction technology, applied in the direction of electrical digital data processing, instruments, micro-control devices, etc., can solve the problems of poor loop execution performance and large clock cycle, and achieve the effect of improving execution performance

Active Publication Date: 2010-03-03
VIA TECH INC
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the execution performance of the loop is relatively poor, because the conditional branch instruction requires a relatively large number of clock cycles to execute

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Microprocessor and microprocessor method
  • Microprocessor and microprocessor method
  • Microprocessor and microprocessor method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] now refer to Figure 1a , Figure 1ais a block diagram showing a prior art microprocessor 100 . An instruction cache (not shown) provides macroinstructions 104 to instruction translator 106 . The macroinstructions 104 include a string of repeat move (REP MOVS) macroinstructions. Instruction translator 106 converts macroinstructions 104 into microinstructions 108 , where a single macroinstruction 104 may be translated into one or more microinstructions 108 . For more complex or less frequently used macroinstructions 104 , the instruction translator 106 may obtain the required microinstructions 108 from a microinstruction ROM 142 . Microinstruction ROM 142 stores different microinstruction sequences for many macroinstructions 104 . For example, a REP MOVS macroinstruction may have a looping REP MOVS microinstruction sequence 144, and other complex or infrequently used macroinstructions may have a different sequence of microinstructions.

[0022] The microinstructions 1...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a microprocessor and a microprocessor method. 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 theECX 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 registerin 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. The invention improves the the performance of REP MOVS macroinstructions.

Description

technical field [0001] The present invention relates to microprocessors, and more particularly to means for generating microinstructions for executing string move macroinstructions. Background technique [0002] The Intel Architecture (IA-32) instruction set (also commonly referred to as the x86 architecture) includes a string of one word (MOVS) macroinstruction (referred to as a "move of string" instruction in the Intel Software Developer's Manual). The MOVS macroinstruction moves a byte (8-bit), word (16-bit), double-word (32-bit), or quad-word (64-bit) from a source memory location to a destination memory location. A repeat (REP) prefix can be added before a MOVS macroinstruction to repeat the MOVS macroinstruction multiple times to move bytes, words, doublewords, or quadwords. [0003] A program containing a REP MOVS macroinstruction must also include a prior instruction that loads the ECX register with a value specifying the number of times the MOVS macroinstruction is...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/22
CPCG06F9/30018G06F9/30032G06F9/3017G06F9/30065G06F9/30167G06F9/30181
Inventor G.葛兰·亨利泰瑞·派克斯
Owner VIA TECH INC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More