6.20 [20] <§§6.4, 6.5> Consider an instruction sequence used for a memory-tomemory
copy:
lw $2, 100($5)
sw $2, 200($6)
The elaboration starting on page 412 of the text discusses this situation and
states that additional forwarding hardware can improve its performance. Show
the necessary additions to the datapath of Figure 6.33 to allow code like this to run
without stalling. Include forwarding equations (such as the ones appearing on
pages 407¨C411) for all of the control signals for any new or modified multiplexors
in your datapath. Finally, rewrite the stall formula on page 413 so that this code
sequence won¡¯t stall.