Skip to Content
Digital Design and Computer Architecture, 2nd Edition
book

Digital Design and Computer Architecture, 2nd Edition

by David Harris, Sarah Harris
August 2012
Intermediate to advanced
712 pages
19h 33m
English
Morgan Kaufmann
Content preview from Digital Design and Computer Architecture, 2nd Edition

7.5.4 More Instructions

Supporting new instructions in the pipelined processor is much like supporting them in the single-cycle processor. However, new instructions may introduce hazards that must be detected and solved.

In particular, supporting addi and j instructions in the pipelined processor requires enhancing the controller, exactly as was described in Section 7.3.3, and adding a jump multiplexer to the datapath after the branch multiplexer. Like a branch, the jump takes place in the Decode stage, so the subsequent instruction in the Fetch stage must be flushed. Designing this flush logic is left as Exercise 7.35.

7.5.5 Performance Analysis

The pipelined processor ideally would have a CPI of 1, because a new instruction is issued every ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Digital Design and Computer Architecture

Digital Design and Computer Architecture

David Harris, Sarah Harris
Computer Architecture, 5th Edition

Computer Architecture, 5th Edition

John L. Hennessy, David A. Patterson

Publisher Resources

ISBN: 9780123944245