
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

EEL5764 Computer Architecture Fall Semester, 2001 Assigned: 09/05/ Due Date: 09/12/01 in class NOTE: This homework is an assignment for individuals, not teams, and thus each student should submit their own separate work. (a) Hennessy & Patterson (H&P) 2. (b) H&P 2. (c) H&P 2. (d) H&P 2. (e) H&P 2. (f) H&P 2. (g) H&P 2. (h) H&P 2. (i) Use the overall average instruction mix of Figure 2.26 as a basis for evaluating the following. You are to consider adding a new addressing mode to the DLX. This new addressing mode adds two registers and an 11- bit signed offset to compute the effective address. Hence, instruction sequences that use an ALU instruction to first compute the offset, such as: ADD R1, R1, R LW Rx, 0(R1) (or similar store instruction) will be replaced with a single load (or store) that uses the new addressing mode to compute the effective address. From analyzing the instruction mix of the programs, you find that this new addressing mode can be used for 10% of the displacement loads and stores (accounting for both the frequency of this type of address calculation and the shorter offset). It is found, however, that the clock cycle must be lengthened by 5% to accommodate this new addressing mode. i. Find the resulting speedup and make a recommendation as to whether the new addressing mode should or should not be used. ii. Would you make the same recommendation if the addressing mode could be used for 20% of the displacement loads and stores? Why?