再谈流水线冒险 IFet ch DCD MemOpFetch Exec Store IFetch DCD ? Structural Hazard H-Fet ch DCD MemOpFetch OpFetch Exec Store I-Fet ch DCD OpFetch Jump Control Hazard IFetch DCD ? iF DCD Ex Mem wB- RAW(read after write) Data Hazard IF DCD EX Mem WB WAW Data hazard IF DCD EX Mem WB (write after write) F DCD Ex Mem IF DCD OF Ex RS WAR Data Hazard (write after read 北京大学计算机科学技术系 计算机系统结构教研室ñ¯M§¯æ*§cù ¯æù;étÐ@ ½8qdï ,)HWFK ,)HWFK 6WUXFWXUDO +D]DUG ,)HWFK &RQWURO+D]DUG 5$:UHDGDIWHUZULWH'DWD+D]DUG :$:'DWD+D]DUG ZULWHDIWHUZULWH :$5'DWD+D]DUG ZULWHDIWHUUHDG '&' ,)HWFK '&' 0HP2S)HWFK2S)HWFK ([HF 6WRUH 0HP2S)HWFK ([HF 6WRUH '&' "" '&' 2S)HWFK -XPS ,)HWFK '&' "" ,) '&' (; 0HP :% ,) '&' (; 0HP :% ,) '&' (; 0HP :% ,) '&' 2) ([ 0HP ,) '&' 2) ([ 56