Data Hazard

今天学习了Data Hazard 的知识:
主要有几种, RAW, WAR, WAW

Read After Write
Instruction 1: r3<--r2+r1
Instruction 2: r4<--r3+r2

"RAW" means r3 should be read by I2 after I1 has written it.

I1: r1 <-- r3+r4
I2: r3 <--r1+r2
"WAR" means r3 should be read by I1 before I2 could write to it.

评论

此博客中的热门博文

Embedded System interview Question

MicroKernel & Exokernel 操作系统未来可能的发展

中国城市房地产分析