Skip to Content
Digital Design and Computer Architecture, ARM Edition
book

Digital Design and Computer Architecture, ARM Edition

by Sarah Harris, David Harris
April 2015
Intermediate to advanced
584 pages
21h 24m
English
Morgan Kaufmann
Content preview from Digital Design and Computer Architecture, ARM Edition

Example 7.5

Multicycle Processor CPI

The SPECINT2000 benchmark consists of approximately 25% loads, 10% stores, 13% branches, and 52% data-processing instructions.2 Determine the average CPI for this benchmark.

Solution

The average CPI is the sum over each instruction of the CPI for that instruction multiplied by the fraction of the time that instruction is used. For this benchmark, average CPI=(0.13)(3)+(0.52+0.10)(4)+(0.25)(5)=4.12. This is better than the worst-case CPI of 5, which would be required if all instructions took the same time.

2Data from Patterson and Hennessy, Computer Organization and Design, 4th Edition, Morgan Kaufmann, 2011.

Recall that we designed the multicycle processor so that each cycle involved one ALU operation, ...

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, 2nd Edition

Digital Design and Computer Architecture, 2nd Edition

David Harris, Sarah Harris
Computer Architecture, 5th Edition

Computer Architecture, 5th Edition

John L. Hennessy, David A. Patterson

Publisher Resources

ISBN: 9780128009116