ece585_special problem set ver2 - Special Problem Set ECE...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Special Problem Set ECE 585 Spring 10 are 15 cycles(per word) and the distribution of instructions is as follows: Data transfers (integers) 10% Data transfers (FP) 5% Arithmetic/Logic 35% Control 20% FP 30% SD R2, 1000(R3) DADD R4, R3, R5 DSUBI R2, R1, #5 BNEZ R3, name Show single thread implementation of these four statements (Hint: See P A26-A29 of text). Show contents of various registers and the actions taken in each of the stages 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 LD R3, 100(R4) SUBD R8, R3, R6 AND R10, R6, R3 SD R10, 0(R8) BNEZ R8, DONE DADD R11, R8, R6 (i) Hardware forwarding is used? (ii) Branch Taken prediction is used and the frequency of actual branches taken is 70%? (iii) Delayed Branch assumption is used and the frequency of actual branch taken is 70%? Assume Load/store: 1 cycle; Mult:10 cycles; Add/sub: 2 cycles LD F6 100+R3 ADDD F0 F6 F8 MULT F8 F6 F4 SUBD F4 F10 F0 ADDD F6 F4 F10 SP1: For a given processor, CPU instruction access is 1 cycle; memory (data) accesses
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

ece585_special problem set ver2 - Special Problem Set ECE...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online