Question: 1b (1 point) Suppose Jeff wrote the following assembly code fragment. We shall consider the above code for the next 2 questions addq %rbx, %raxline

 1b (1 point) Suppose Jeff wrote the following assembly code fragment.

1b (1 point) Suppose Jeff wrote the following assembly code fragment. We shall consider the above code for the next 2 questions addq %rbx, %raxline 1 movq %rax, (%rbx) ; line 2 movq $188, %rax ; line 3 Which of the following statement A-D is false? Circle E If you think they are all true A. There is a RAW dependency between line 1 and line 2 for register rax B. There is a WAR dependency between line 2 and line 3 for register rax. C. There is a WAW dependency between line 1 and line 3 for register rax. D. There is a WAR dependency between line 1 and line 2 for register rbx. E. None of the above 1c. (1 point) Which of the following statements A-C is false? Circle D if you think all are true A. Jeff should change the register rax in line 3 so to avoid stalling the pipeline unnecessarily B. Jeff should not worry about line 3 because the Intel superscalar design will take care of it via register renaming C. Line 1 and 2 shows a RAR dependency for register rbx. Because of this, if rbx is renamed to register rX during run-time, the intel processor will change register rbx in line 2 to rX too. D. None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!