61.3k views
5 votes
Suppose that the scalar pipelined MIPS processor had the ability (similar to that of the SparcV8) to annul the instruction in the branch delay slot. If the branch is not taken, what effect would this have (if any) on the pipeline control bits for the instruction in the branch delay slot?

1 Answer

0 votes

Answer:

Follows are the solution to the question:

Step-by-step explanation:

  • Its MIPS guidance is usually implemented with both the region instruction beside the node. Suppose they got

loop: command 1.

command 2

Loop for the starting

command 3

The branch is removed here, yet command 3 still becomes executed until the execution of command 1.

That's how we'll cancel the delay throughout the branch.

  • Since PC is fully packed with commands, but due to reservoirs or one other program counter, which includes next online courses, the corresponding instruction would still be loaded.
  • To prevent it, we attach no guidance to reach the branch delay slot just after commands.
  • However, if the new phase is not followed, its concept of canceling that branch delay spot is not executed.
  • Unless the branch also isn't taken, i.e. Lesson 3 would not be implemented because the lesson wasn't fully executed before the branch is removed.
User Pjcunningham
by
5.3k points