Documente Academic
Documente Profesional
Documente Cultură
BY UBAID SAUDAGAR
BY UBAID SAUDAGAR
8085, 8086, 80186, 80286, 80386, 80486, why not 80586 but Pentium ?
In the beginning AMD was a part of Intel organization, which was responsible for producing the processors. After Intel realized the growing market in the processor design field, it started producing the processor on its own, AMD got separated.
Now as Intel launched its own processors 8086, 80186, 80286, 80386, 80486. AMD also launched similar processors named AMD 8086, AMD 80186, AMD 80286, AMD 80386, AMD 80486.
To prevent this Intel decided to copyright the name of the processor and named the next chip as Pentium.
BY UBAID SAUDAGAR
Features of Pentium
It is a 32 bit microprocessor introduced in the year 1993. Size of data bus is 64 bits. Q: Pentium data bus size is greater than processor size (ALU size) Super scalar architecture (dual 5 stage pipeline) i.e. u pipeline and v pipeline This allows it to complete more than one instruction per clock cycle u pipeline can handle any instructions whereas v pipeline can handle simple, most common instructions This does not mean that mean it can execute 64 bit applications, as register size is just the same i.e. 32 bits 64 bit data can be processed at the same time 32 bit data can be processed It is a 273 pin PGA (pin grid array).
BY UBAID SAUDAGAR
Features of Pentium
Each pipeline has a separate 64 bytes of prefetch queue. Branch prediction logic is an intelligent system in Pentium which identifies the branch instructions in order to avoid flushing of bytes from prefetch queue. Numeric data processor (Co - processor) is present on chip with the help of VVLSI technology. Level 2 cache outside
Level 1 cache (dedicated cache i.e. 8Kb data and 8Kb code (instruction))
Available at the clock speeds of 60, 66 MHz but later available at 90, 100, 120, 150, 200, 233 MHz Size of address bus is 32 bits.
BY UBAID SAUDAGAR
Processors able to execute parallel instructions are known as super scalar machines.
The Pentium processor is a superscalar machine, built around two general purpose integer pipelines. Both pipelines operate in parallel, allowing integer instructions to execute in a single clock in each pipeline.
The process of issuing two instructions in parallel is termed pairing. The u-pipe can execute any instruction in the Intel architecture, whereas the v-pipe can execute simple instructions.
BY UBAID SAUDAGAR
Eg : A = B + C
C=A+B In the above instructions, we notice that after the first equation the value of A changes. In the second equation C is dependent on A. Hence the two equations are dependent on each other therefore cannot be executed simultaneously.
BY UBAID SAUDAGAR
BY UBAID SAUDAGAR
10
11
BY UBAID SAUDAGAR
12
BY UBAID SAUDAGAR
13
Branch prediction
Prefetch Buffers
U pipe
Integer ALU 32 bits Register Set
Divider
14
On chip cache is used to feed instructions and data to the CPUs pipeline.
When an instruction or data is required from the main memory, the on chip cache will be searched first. If the instruction or data is found in the cache then a copy is send to the pipeline directly. If it is not available in the internal cache then external cache is searched. If not found over there, then external memory is accessed. The cache in the Pentium has been changed from the one found in 80486 microprocessor. The Pentium contains two 8K byte cache memories instead of one as in the case of 80486. There is an 8K byte instruction cache and 8K byte data cache. The instruction cache stores only instructions, while data cache stores data used by instructions. The problem faced in 80486 was that it was a unified cache, a program that was data intensive filled the data cache very quickly leaving very little space for instructions. This slowed down the execution speed of 80486. But due to separate cache in Pentium this problem cannot occur.
BY UBAID SAUDAGAR
15
On chip cache
External cache
Main memory
CPU
BY UBAID SAUDAGAR
16
BY UBAID SAUDAGAR
17
Assume jump instruction comes in the u pipeline; say 3000 : JUMP 8000. Now branch prediction logic checks if source address is present in BTB. If the instruction is coming for the first time then there is no history. In this case we take the decision that there is no jump (therefore we notice that branch prediction logic does not depend upon instruction but depends upon its prediction ). Now fetching will continue from the source address. Therefore jump will be actually taken or not will be known at the time of execution. If prediction is wrong then the pipelined has to be flushed.
BY UBAID SAUDAGAR
18
BY UBAID SAUDAGAR
19
BY UBAID SAUDAGAR
20