Answered step by step
Verified Expert Solution
Question
1 Approved Answer
seconds instructions Example cycles instruction seconds cycle program program constant trade-off Suppose we have two implementations of the same instruction set architecture (ISA). For some
seconds instructions Example cycles instruction seconds cycle program program constant trade-off Suppose we have two implementations of the same instruction set architecture (ISA). For some program, CPU A has a clock cycle time of 10 ns and a CPI of 2.0 CPU B has a clock cycle time of 20 ns and a CPI of 1.2 What machine is faster for this program, and by how much? seconds instructions Example cycles instruction seconds cycle constant program program trade-off . Percentage of instructions of a program (CPU A) compare 20%, branch 20%, others 60% compare 1 cycle, branch 2 cycles, others 1 cycle (CPI) - CPIA CPUAN . Percentage of instructions of the same program (CPU B) combine "compare & branch" in one instruction compare & branch 2 cycles, others 1 cycle (CPI) - CPIB = - CPUB=
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started