PipelineExamples

PipelineExamples - With No Forward/Bypass Hardware: add $1,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: With No Forward/Bypass Hardware: add $1, $2, $3 IF add $4, $5, $6 add $7, $8, $9 add $10, $11, $12 add $13, $14, $1 add $15, $16, $7 add $17, $18, $13 add $19, $20, $17 ID IF EX ID IF MEM WB EX MEM WB ID EX MEM WB IF ID EX MEM WB IF ID EX MEM WB IF ID EX MEM WB IF ID ID ID IF IF IF EX ID ($1 arrives early: OK) ($7 arrives just in time: OK) MEM WB ($13 causes 2 stalls) ID ID EX MEM WB With Forward/Bypass Hardware: add $1, $2, $3 IF add $4, $5, $6 add $7, $8, $9 add $10, $11, $12 add $13, $14, $1 add $15, $16, $7 add $17, $18, $13 add $19, $20, $17 ID IF EX ID IF MEM WB EX MEM WB ID EX MEM WB IF ID EX MEM WB IF ID EX MEM WB IF ID EX MEM WB IF ID EX MEM WB IF ID EX MEM WB ($1 arrives early: OK) ($7 arrives just in time: OK) ($13 is forwarded: OK) ($17 is forwarded: OK) Without Forward/Bypass Hardware: lw $3, 100($2) add $1, $2, $3 add $4, $5, $6 IF ID EX MEM WB IF ID ID ID EX MEM WB IF IF IF ID EX MEM WB With Forward/Bypass Hardware: lw $3, 100($2) add $1, $2, $3 add $4, $5, $6 IF ID EX MEM WB IF ID ID EX MEM WB IF IF ID EX MEM WB ...
View Full Document

Ask a homework question - tutors are online