Which technique removes write-after-read (WAR) and write-after-write (WAW) hazards in an out-of-order processor?

Correct answer A. Register renaming

Explanation

WAR and WAW are name dependences: the instructions reuse the same register name but do not pass data between them. Mapping each new destination to a fresh physical register removes the conflict, letting the instructions run in any order. Forwarding helps only true (RAW) dependences, branch prediction tackles control hazards, and extra ports fix structural hazards.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.