4. It is often needed to exchange the contents of two registers. It takes three instructions to accomplish this in

4. It is often needed to exchange the contents of two registers. It takes three instructions to accomplish this in LEGv8. It might be useful to add a new instruction to the LEGv8 ISA that takes two registers and exchanges their contents. Suppose that the CPI is the same across all instruction types, and moreover is unaffected by the new instruction, but that the clock rate decreases by 8%. Suppose that the addition of this new instruction also reduces the total instruction count by 15%. Is it beneficial to implement this enhancement


CategoriesUncategorized

Leave a Reply

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