Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Mohamed Ahmed Abd El-Hacam

HW2

Computer Architecture

Question (2)
2
3
4

The first reason is to facilitate the instruction decoding process. The second
one is to force the instructions to keep in cache lines, as well as page
boundaries in Virtual Memory usage.
Hardware that could propagate carriers between four-bit sub-fields.
The rotate instruction the contents of a register and combines the rotated
bits of the register with another register. Its useful in fixed point operations.
On the other hands, The Shift Instruction is used to improve the Floating Point
instructions.

Question (3)
1)Case : 1 (the web page takes 8 seconds)
8 = 0.2x + 0.3 x + 0.5 x x = 8 CPU time = 4 sec., Graphics time = 2.4 sec., Data
connection time = 1.6sec.
a)Case 2 : improving CPU speed to achieve total time 6 sec.
6 = 2.4+1.6+x x= 2 sec. new CPU speed =

4
2

* Old CPU speed = 2* 400 = 800MHz.

b)Case 3 : Improving the graphics chip speed to achieve total time 6 sec.
6= x + 4 + 1.6 x= 0.4 new Graphics chip speed =

1.6
0.4

* old Graphics chip speed =

4*10 = 40 million polygon/sec

2) If we want the phone video performance to be 25% faster


(speedup of 1.25), how can we do that?
Ans.:

First approach : by raising the speed of the chip up to 12.5 million


polygon/sec.
Second Approach : by using 2 graphics chips (assuming the sequential part
in the program is 1.5% from the whole program ( the dependencies in
graphics are already low).

Submitted for : Dr./ Hossam A. Fahmy

You might also like