Principle of computer composition--instruction line

Source: Internet
Author: User
Tags knowledge base
principle of computer composition--Instruction line 1. Overview

To improve CPU utilization and speed up execution, the instructions are divided into phases that can execute different stages of different instructions in parallel, so that multiple instructions can be executed simultaneously. In the case of effectively controlling the pipeline congestion, the pipeline can greatly improve the speed of instruction execution. Blog Park Knowledge Base: The exploration of CPU pipeline

Classic five-level pipeline: Fetch, Decode, execute, access memory (read or write), result writeback register. Link: The history of the most classic 5-level pipeline

There are three types of pipeline blocking (Baidu knows):

1. Structure-Related: In the process of instruction overlap execution, the hardware resources can not meet the requirement of overlapping instruction, and the resource conflict will result in the structure correlation. The solution is to increase hardware resources, such as the use of the command cache and the data cache separation of the Harvard structure to resolve the conflict.

2. Data correlation: When an instruction requires the execution result of a previous instruction, and the two are executing in parallel, data correlation is generated.

3. Control Related: There are jump statements or other instructions to change the IP value, will produce control-related.

  

  

Principle of computer composition--instruction line

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.