日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

课堂笔记——计算机体系结构(1)

發布時間:2024/8/23 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 课堂笔记——计算机体系结构(1) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

落了一節課,直接lecture3

Lecture3 Basic Pipeline

1、Single-cycle implementation: seldom used

? ? ?取指? 譯碼? 執行? 讀mem/cache? 寫回WB

2、How to make it fast?

? ? ?To decrease the clock cycle time? difficult!

? ? ?What's the problem?資源浪費 串行 Start work ASAP

3、Multi-cycled implemention

4、Pipelining

? ? why pipelining? decrease CPUtime? improving the throughput?

5、Pipeline hazard: the major hurdle

? ? A hazard is a condition that prevents an instruction in the pipe from excuting its next scheduled pipe stage

? ?Taxonomy of hazard:

? ?Structrural hazards: These are comflicts over hardzards resources.

? ?Data hazards: Instruction depends on result of prior computation which is not ready yet.

? ?Control hazards: PC are not available in time to fetch an instruction on the next clock.

6、 Hazards can always be resolved by stall

?7、浮點數運算:解決結構競爭(Structrural hazards)

? ? ??方法1:fully pipelined adder:overhead(體積、執行時間)過大

? ? ? 方法2:multiple unpipelined adder:overhead(成本)過大

? ? ? 方法3:插入stall

8、coping with data hazards

? ? 方法1:增加數據通路(Forwarding Path)

? ? 方法2:Forwarding not always work,so implement load Interlock?:load指令比較常見,這個方法開銷較大

? ? 方法3:編譯器端,進行代碼調度,進行代碼塊順序改變

? ??

總結

以上是生活随笔為你收集整理的课堂笔记——计算机体系结构(1)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。