→ DLHZ: 要寫回去就是跟write back的條件一樣 內容被換了才會去更新 11/04 13:00
我的疑問是,在write-back的條件之下,什麼樣的指令才會讓memory block被更新?
抱歉沒有敘述清楚,我的問題點是,為何mem.a的值沒有被更改為15? 我猜測是因為write-back?
→ mistel: 這題我是這樣寫 因為我覺得會比較清楚cache裡面的資料長 11/04 13:15
→ mistel: 怎樣@@ 11/04 13:15
※ 編輯: jean20157 (42.72.53.26 臺灣), 11/04/2019 17:24:48
※ 編輯: jean20157 (42.72.53.26 臺灣), 11/04/2019 17:26:50
推 mistel: 拿這題來說就是P3要使用別的資料時才會主動寫回memory, 11/04 18:34
→ mistel: 這樣才是write back 11/04 18:34
→ jean20157: m大:所以像(5), p1要read c, 上面(4)的指令結果有被as 11/04 21:52
→ jean20157: sign回memory block, 這樣就是write-back了對嗎? 11/04 21:52
推 mistel: 對 11/04 22:14
好的~非常感謝!
※ 編輯: jean20157 (42.73.4.193 臺灣), 11/05/2019 09:12:59