If the clock frequency of a processor is 1 GHz and the avera

If the clock frequency of a processor is 1 GHz and the average cycles per instruction (CPI) is 1.5 how long will it take to execute 1 billion (1 times 109) instructions? ___ Given the value for x is stored in register $t0 give the MIPS assembly language statements to compute: 2x + 5___ Which of the following items is not true of the MIPS processor? It has very few registers. It has very simple instructions. It tries to make the common case fast for instructions. All instructions are 32 bits.

Solution

1)multiplying those three factors we get execution time:

Given that frequency =1GHz =109

cycles per instruction is :1.5

instructions =1 billion 109

execution time=1.5*1018

2)given that x value stored in $t0

li $t1,2                                immediatly loading 2 into t1 register

mult $t0,$t1                          multiply x value stored in $t0 with $t1 value i.e,2

addi $t0,5                          adding 5 to $t0 value.

3)c is not true regarding MIPS processor

 If the clock frequency of a processor is 1 GHz and the average cycles per instruction (CPI) is 1.5 how long will it take to execute 1 billion (1 times 109) ins

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site