freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

現(xiàn)代計(jì)算機(jī)體系結(jié)構(gòu)(參考版)

2024-07-31 03:08本頁(yè)面
  

【正文】 each instruction has other operand, then instructions can be released simultaneously by broadcast on CDB – If a centralized register file were used, the units would have to read their results from the registers when register buses are available 2. Elimination of stalls for WAW and WAR hazards HardwareBased Speculation ? Problem – A wide issue processor may need to execute a branch every clock cycle to maintain maximum performance. ? just predicting branches accurately may not be sufficient to generate the desired amount of ILP ? Solution – speculating on the oute of branches and executing the program as if our guesses were correct ? fetch, issue, and execute instructions, as if branch predictions were always correct – Provide mechanisms to handle the situation where the speculation is incorrect. HardwareBased Speculation ? 3 key ideas – dynamic branch prediction ? to choose which instructions to execute – speculation ? to allow the execution of instructions before the control dependences are resolved ? with the ability to undo the effects of an incorrectly speculated sequence – dynamic scheduling ? to deal with the scheduling of different binations of basic blocks. HardwareBased Speculation ? Tomasulo’s algorithm can be extended to support speculation – separate the bypassing of results among instructions from the actual pletion of an instruction – allow an instruction to execute and to bypass its results to other instructions ? without allowing the instruction to perform any updates that cannot be undone ? Instructions using speculated results bee speculative – When an instruction is no longer speculative, we allow it to update the register file or memory ? instruction mit HardwareBased Speculation ? The key idea – allow instructions to execute out of order but to force them to mit in order – prevent any irrevocable action until an instruction mits 阻止任何不可更改的活動(dòng)直到指令提交 ? such as updating state or taking an exception – separate the process of pleting execution from instruction mit 把完成執(zhí)行與指令提交分開(kāi) ? an additional set of hardware buffers that hold the results of instructions before being mitted ? reorder buffer (ROB) – a source of operands for instructions – supplies operands in the interval between pletion of instruction execution and instruction mit. HardwareBased Speculation ? ROB – A circular buffer ? Entries allocated and deallocated by two revolving pointers – Entries allocated to each instruction ? Strictly in program order ? Keeps track of the execution status of the instruction HardwareBased Speculation ? ROB fields – instruction type ? opcode – branch (has no destination result) – store (has a memory address destination) – register operation (has register destinations). – destination ? the register number or the memory address – value ? Instruction result – Ready ? The value is ready – Address ? For load/store operation ? ROB replaces the store buffer ROB[ ].Instruction ROB[ ].Dest ROB[ ].Value ROB[ ].Ready type dest value ready ROB[ ].A HardwareBased Speculation ? Register fields – Busy ? RegisterState[ ].Busy – Reorder ? RegisterState[ ].Reorder ? Instruction sequence number – Qi ? RegisterState[ ].Qi – Value ? RegisterState[ ].Value Busy reorder Qi Value HardwareBased Speculation ? 4 steps – Issue – Execute – Write result – Commit HardwareBased Speculation ? 4 steps – Issue ? If there is an empty station and empty slot in the ROB – Mark the reservation station and ROB as busy ? Send the operands to the reservation station if they are available in the register or ROB – Execute – Write result ? Write result on the CDB and from CDB into the ROB ? Mark the reservation station as empty – Commit ? When an instruction reaches the head of the ROB ? Mark the ROB as empty ? When the instruction is a branch with incorrect prediction, indicate the speculation was wrong – The ROB is flushed – Execution is restarted at the correct successor of the branch HardwareBased Speculation Advantages of speculation ? Precise interrupt 精確中斷 – the processor with the ROB can dynamically execute code while maintaining a precise interrupt model. ? flushing any pending instructions in ROB Is Is Is Ex Ex Ex W W W Is Ex W C C C C HardwareBased Speculation Advantages of speculation ? Early recovery from branch misprediction 從分支錯(cuò)誤預(yù)測(cè)中提早恢復(fù) – the processor can easily undo its speculative actions when a branch is found to be mispredicted. ? clearing the ROB for all entries that appear after the mispredicted branch清除出現(xiàn)在錯(cuò)誤預(yù)測(cè)分支指令之后的所有記錄 ? allowing those that are before the branch in the ROB to continue允許出現(xiàn)在錯(cuò)誤預(yù)測(cè)分支指令之前的指令繼續(xù)執(zhí)行 – performance is more sensitive to the branch prediction mechanism prefetc
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1