精華區beta hardware 關於我們 聯絡資訊
y ※ 引述《sitos (麥子)》之銘言: : ※ 引述《dolphinus (鬼扯英吉GTB)》之銘言: : : "執行後再存回 trace cache" 這段意味著跑玩的東西 : : 還會丟回 trace cache, 基本上不要說 trace cache, : : 只要是 instruction cache 都是行不通的... : : 我對這句話大感意外就是... : 我不懂為什麼行不通? Instruction cache 裡面放的東西至少也是跑過一次的。 : 也就是在第一次要用的時候一起 fetch 進來的,那些 code 不算是跑過的嗎? : 我不認為有「丟回」這個動作,一面把 code 從 I-cache 送到 decoder , : 一面把一份 code 寫進 trace cache 裡面以便下一次用,設計上並沒有困難。 我去翻了一下Stanford U. EE processor architecture的lecture 有一小段是在講Intel Trace Cache 他給的解釋是這樣 Traces are built using the line buffer (or fill-unit). It records instructions as they are retired from the execution core, and inserts them into the trace cache when a trace end-condition (such as an indirect jump) is encountered. 不知這段話是否解釋了兩位的疑問 (不過這是April 2000的講義了) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.133.110.47
dolphinus:一樣啊, 那論文簡界就有寫了.. 05/03 00:19
dolphinus:會去"build"trace的只有 inst.fetch 或 decoder 而已啊. 05/03 00:21
dolphinus:目前是沒看過會看branch情況rebuild trace的.. 05/03 00:26
Pash77:有提到 Trace Cache 跟其它 Cache 的 clock freq. 嗎? 05/03 03:23