chapter8cpuandmemorydesign,enhancement,and内容摘要:

verage instruction execution is approximately equal to the clock speed of the CPU  Problems from stalling  Instructions have different numbers of steps  Problems from branching 810 Copyright 2020 John Wiley amp。 Sons, Inc. Pipelining Example 811 Copyright 2020 John Wiley amp。 Sons, Inc. Branch Problem Solutions  Separate pipelines for both possibilities  Probabilistic approach  Requiring the following instruction to not be dependent on the branch  Instruction Reordering (superscalar processing) 812 Multiple, Parallel Execution Units  Different instructions have different numbers of steps in their cycle  Differences in each step  Each execution unit is optimized for one general type of instruction  Multiple execution units permit simultaneous execution of several instructions Copyright 2020 John Wiley amp。 Sons, Inc. 813 Copyright 2020 John Wiley amp。 Sons, Inc. Superscalar Processing  Process more than one instruction per clock cycle  Separate fetch and execute cycles as much as possible  Buffers for fetch and decode phases  Parallel execution units 814 Copyright 2020 John Wiley amp。 Sons, Inc. Superscalar CPU Block Diagram 815 Copyright 2020 John Wiley amp。 Sons, Inc. Scalar vs. Superscalar Processing 816 Copyright 2020 John Wiley amp。 Sons, Inc. Superscalar Issues  Outoforder processing – dependencies (hazards)  Data dependencies  Branch (flow) dependencies and speculative execution  Parallel speculative execution or branch prediction  Branch History Table  Register access conflicts  Rename or logical registers 817 Copyright 2020 John Wiley amp。 Sons, Inc. Memory Enhancements  Memory is slow pared to CPU processing speeds!  2Ghz CPU = 1 cycle in 189。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。