SlideShare a Scribd company logo
Pentium Processor
Features of Pentium
• Introduced in 1993 with clock frequency ranging
from 60 to 66 MHz
• The primary changes in Pentium Processor were:
– Superscalar Architecture
– Dynamic Branch Prediction
– Pipelined Floating-Point Unit
– Separate 8K Code and Data Caches
– Writeback MESI Protocol in the Data Cache
– 64-Bit Data Bus
– Bus Cycle Pipelining
Pentium Architecture
Pentium Architecture
• It has data bus of 64 bit and address bus of 32-
bit
• There are two separate 8kB caches – one for
code and one for data.
• Each cache has a separate address translation
TLB which translates linear addresses to
physical.
• Code Cache:
– 2 way set associative cache
– 256 lines b/w code cache and prefetch buffer,
permitting prefetching of 32 bytes (256/8) of
instructions
Pentium Architecture
• Prefetch Buffers:
▫ Four prefetch buffers within the processor works as
two independent pairs.
 When instructions are prefetched from cache, they are
placed into one set of prefetch buffers.
 The other set is used as when a branch operation is
predicted.
▫ Prefetch buffer sends a pair of instructions to
instruction decoder
• Instruction Decode Unit:
▫ It occurs in two stages – Decode1 (D1) and
Decode2(D2)
▫ D1 checks whether instructions can be paired
▫ D2 calculates the address of memory resident
operands
Pentium Architecture
• Control Unit :
▫ This unit interprets the instruction word and
microcode entry point fed to it by Instruction
Decode Unit
▫ It handles exceptions, breakpoints and interrupts.
▫ It controls the integer pipelines and floating point
sequences
• Microcode ROM :
▫ Stores microcode sequences
• Arithmetic/Logic Units (ALUs) :
▫ There are two parallel integer instruction pipelines: u-
pipeline and v-pipeline
▫ The u-pipeline has a barrel shifter
▫ The two ALUs perform the arithmetic and logical
operations specified by their instructions in their
respective pipeline
Pentium Registers
• Four 32-bit registers can be used as
∗ Four 32-bit register (EAX, EBX, ECX, EDX)
∗ Four 16-bit register (AX, BX, CX, DX)
∗ Eight 8-bit register (AH, AL, BH, BL, CH, CL, DH, DL)
• Some registers have special use
∗ ECX for count in loop instructions
Pentium Registers (Eflags)
• Flags never change for any data transfer or program control operation.
• Some of the flags are also used to control features found in the
microprocessor.
• Flag bits, with a brief description of function.
• C (carry) holds the carry after addition or
borrow after subtraction.
▫ also indicates error conditions
• P (parity) is the count of ones in a number
expressed as even or odd. Logic 0 for odd parity;
logic 1 for even parity.
▫ if a number contains three binary one bits, it has
odd parity
▫ if a number contains no one bits, it has even parity
• C (carry) holds the carry after addition or
borrow after subtraction.
▫ also indicates error conditions
• P (parity) is the count of ones in a number
expressed as even or odd. Logic 0 for odd parity;
logic 1 for even parity.
▫ if a number contains three binary one bits, it has
odd parity; If a number contains no one bits, it
has even parity
• A (auxiliary carry) holds the carry (half-
carry) after addition or the borrow after
subtraction between bit positions 3 and 4 of the
result.
• Z (zero) shows that the result of an arithmetic or
logic operation is zero.
• S (sign) flag holds the arithmetic sign of the result
after an arithmetic or logic instruction executes.
• T (trap) The trap flag enables trapping through an
on-chip debugging feature.
• I (interrupt) controls operation of the INTR
(interrupt request) input pin.
• D (direction) selects increment or decrement
mode for the DI and/or SI registers.
• O (overflow) occurs when signed numbers are
added or subtracted.
▫ an overflow indicates the result has exceeded
the capacity of the machine
• IOPL used in protected mode operation
to select the privilege level for I/O devices.
• NT (nested task) flag indicates the current
task is nested within another task in protected
mode operation.
• RF (resume) used with debugging to control
resumption of execution after the next
instruction.
• VM (virtual mode) flag bit selects virtual
mode operation in a protected mode system
• AC, (alignment check) flag bit activates if a word
or doubleword is addressed on a non-word or non-
doubleword boundary.
• VIF is a copy of the interrupt flag bit available to the
Pentium 4–(virtual interrupt)
• VIP (virtual) provides information about a virtual
mode interrupt for (interrupt pending) Pentium.
▫ used in multitasking environments to provide virtual
interrupt flags
• ID (identification) flag indicates that the
Pentium microprocessors support the CPUID
instruction.
▫ CPUID instruction provides the system with
information about the Pentium microprocessor
Control Registers
• CD cache disable controls the internal cache. If
CD=1 , the cache will not fill with new data . If CD=0
misses will cause the cache to fill with new data
• NW Not write through selects the mode of operation
for the data cache. If NW=1, the data cache is
inhibited from cache write though
• AM Alignment mask enables alignment checking
when set, it only occurs for protected mode
• WP write protect protects user level pages against
supervisor level write operations. When WP=1, the
supervisor can write to user level segments
• NE numeric error enables standard numeric
coprocessor error detection.
Pin Diagram
• CLOCK
▫ CLK - Clock (Input)
 Fundamental Timing for the Pentium
 The CPU uses this signal as the internal processor
clock.
▫ BF - Bus Frequency (Input)
 Bus Frequency determines the bus-to-core frequency
ratio
 When BF is strapped to Vcc, the processor will
operate at a 2 to 3 bus to core frequency ratio.
 When BF is strapped to Vss, the processor will
operate at a 1 to 2 bus to core frequency ratio.
• Initialization
▫ RESET - (Input)
 Forces the CPU to begin execution at a known state.
▫ INIT - Initialization (Input)
 The Pentium processor initialization input pin forces
the Pentium processor to begin execution in a
known state.
 The processor state after INIT is the same as the
state after RESET except that the internal caches,
write buffers, and floating point registers retain the
values they had prior to INIT.
• Address Bus
▫ A31:A3 - ADDRESS bus lines
 Output except for cache snooping
▫ The number of address lines determines the
amount of memory supported by the processor.
▫ Determines where in the 4GB memory space or
64K IO space the processor is accessing.
▫ These are input lines when AHOLD & EADS# are
active for Inquire Cycles (snooping)
• Address Bus
▫ BE7#:BEO#: Byte Enable lines (Outputs)
▫ Byte Enables to enable each of the 8 bytes in the
64-bit data path.
 Helps define the physical area of memory or I/O
accessed.
 The Pentium uses Byte Enables to address locations
within a QWORD.
 In effect a decode of the address lines A2-A0 which
the Pentium does not generate.
 Which lines go active depends on the address, and
whether a byte, word, double word or quad word is
required.
• Address Mask
▫ A20M#: Address 20 Mask (Input)
 Emulates the address wraparound at 1 MByte which
occurs on the 8086.
 When A20M# is asserted, the Pentium processor
masks physical address bit 20 (A20) before
performing a lookup to the internal caches or driving
a memory cycle on the bus.
 A20#M must be asserted only when the processor is
in real mode.
• Internal Parity
▫ IERR# - Internal Error (Output)
 Alerts System of Internal Parity Errors
• Address Parity
▫ AP Address Parity (I/O)
 Bi-directional address parity pin for the address lines.
 Address Parity is driven by the Pentium processor with
even parity information on all CPU generated cycles in
the same clock that the address is driven
 Even parity must be driven back to the CPU during
inquire cycles on this pin in the same clock as EADS#.
 Not supported on all systems
▫ APCHK#: Address Parity Check Signal (Output)
 The status of the address parity check is driven on the
APCHK# output.
 Even Parity Checking
• Data Bus.
▫ D63:DO - Data Lines (I/O).
 The bi-directional 64-bit data path to or from the
CPU.
 The signal W/R# distinguishes direction.
 During reads, the CPU samples the data bus when
BRDY# is asserted.
▫ DP7: DP0 - Data Parity (I/O)
 Bi-directional data parity pins for the data bus.
 Even Parity Check. One for each byte of the data bus
 Output on writes, Input on reads.
 Not supported on all systems.
• Bus Control
▫ ADS# - Address Strobe (output)
 Indicates that a new valid bus cycle is currently
being driven by the Pentium processor.
 The following are some of the signals which are valid
when ADS#=0
 Addresses (A31:3)
 Byte Enables (BE7#:0#)
 Bus Cycle definition (M/IO#; D/C#; W/R#, CACHE#)
 From power-on the ADS# signal should be asserted
periodically when bus cycles are running
• Bus Control (Cont.)
▫ BRDY# - Burst Ready (Input)
 Transfer complete indication.
 The burst ready input indicates that the external system
has presented data on the data pins in response to a read
or that the external system has accepted the Pentium
processor data in response to a write request.
 This signal ends the current bus cycle and is used to
extend bus cycles to allow slow devices extra time.
 If LOW (non-burst cycles), this signal ends the
current bus cycle and the next bus cycle can begin.
 If HIGH the Pentium is prevented from continuing
processing and wait states are added.
• Bus Cycle Definition
▫ M/IO# - Memory or Input/Output (output)
 M/IO# distinguishes between Memory and I/O
cycles.
 The memory/input-output is one of the primary bus
cycle definition pins.
 1 = Memory Cycle
 0 = Input/Output Cycle
 It is driven valid in the same clock as the ADS#
signal is asserted.
• Bus Cycle Definition (Cont.)
▫ D/C# - Data or Code (output)
 D/C# distinguishes between data and code or special
cycles (control)
 The data/code output is one of the primary bus cycle
definition pins.
 1 = Data
 0 = Code / Control
»Control for Interrupt Acknowledge or Special Cycles
 It is driven valid in the same clock as the ADS#
signal is asserted.
• Bus Cycle Definition (Cont.)
▫ W/R# - Write or Read (output)
W/R# distinguishes between Write and Read cycles.
Write/read is one of the primary bus cycle
definition pins.
 1 = Write
 0 = Read
It is driven valid in the same clock as the ADS#
signal is asserted.
• Bus Cycle Definition (Cont.)
▫ Cache# - Cache ability (output)
 Processor indication of internal cache ability.
 The L1 cache must be enabled using the CD bit in
CR0 for Cache# to be asserted low.
 The Cache# signal could also be described as the
BURST instruction signal, because the Cache# signal
(qualified with KEN#) results in a burst mode
transfer of 32 bytes of code or data.
 Cache# and Ken# are used together to determine if
a read will be turned into a linefill. (Burst cycle).
 During write-back cycles, the CPU asserts the
CACHE# signal (KEN# does not have to be asserted)
• Bus Cycle Definition (Cont.)
▫ NA# - Next Address (Input)
 Indicates external memory is prepared for a pipeline
cycle.
 An active next address input indicates that the
external memory system is ready to accept a new bus
cycle although all data transfers for the current cycle
have not yet completed.
 When NA# is asserted, the Pentium supplies the
address for the start of the next transfer early, so
that the memory system can latch the new address
before the transfer is ready to start.
 A detailed discussion of Address Pipelining is
beyond the scope of this course.
• Bus Cycle Definition (Cont.)
▫ Lock# - Bus Lock (Output)
 The bus lock pin indicates that the current bus cycle is
locked, typically for a read-modify-write operation.
 The CPU will not allow a bus hold when LOCK# is
asserted.
 Locked cycles are generated when the programmer
prefixes certain instructions with the LOCK prefix.
 e.g. LOCK INC [EDI] ;Increment a memory location
 Locked cycles are generated automatically for certain bus
transfer operations.
 Interrupt Acknowledge cycles
 The XCHG instructions when 1 operand is memory-based.
 See Pentium manual for more details.
• Cache Control
▫ KEN# - Cache Enable (Input)
 Indicates to the Pentium whether or not the system
can support a cache line fill for the current cycle.
 Cache# and Ken# are used together to determine if
a read will be turned into a linefill. (Burst cycle).
▫ WB/WT# - Write-back/Write-through (Input)
 This pin allows a cache line to be defined as a a write
back or write-through on a line by line basis.
• Bus Arbitration
▫ HOLD - Bus Hold (Input)
 Allows another bus master complete control of the
CPU bus.
 In response to the bus hold request, the Pentium
processor will float most of its output and
input/output pins and assert HLDA after
completing all outstanding bus cycles.
 The Pentium processor will maintain its bus in this
state until HOLD is de-asserted.
▫ HLDA - Bus Hold Acknowledge (Output)
 External indication that the Pentium™ outputs are
floated.
• Bus Arbitration (Cont.)
▫ BOFF# - Backoff (Input)
 Forces the Pentium to get off the bus in the next
clock.
 After BOFF# is removed, the Pentium restarts the
bus cycle.
▫ BREQ - Bus Request (output)
 Indicates externally when a bus cycle is pending
internally.
 Used to inform the arbitration logic that the Pentium
need control of the bus to perform a bus cycle.
• Interrupts
▫ INTR - Maskable Interrupt (Input)
 Indicates that an external interrupt has been
generated.
 If the IF(Interrupt Enable Flag) bit in the EFLAGS
register is set, the Pentium processor will generate
two locked interrupt acknowledge bus cycles (to get
type number) and vectors to an interrupt handler
after the current instruction execution is completed.
▫ NMI - Non-Maskable Interrupt (Input)
 Indicates that an external non maskable interrupt
has been generated.
 The Pentium processor will vector to a Type 2
interrupt handler after the current instruction
execution is completed
• Probe Mode
▫ R/S# - Resume/Stop [Run/Scan] (Input)
 The run/stop input is an asynchronous, edge-
sensitive interrupt used to stop the normal execution
of the processor and place it into an idle state.
▫ PRDY - Probe Ready (Output)
 The probe ready output pin indicates that the
processor has stopped normal execution in response
to the R/S# pin going active. The CPU enters Probe
Mode.
What is Superscalar?
• Common instructions (arithmetic, load/store,
conditional branch) can be initiated and
executed independently
• Equally applicable to RISC & CISC
• In practice usually RISC
General Superscalar Organization
Superpipelined
• Many pipeline stages need less than half a clock
cycle
• Double internal clock speed gets two tasks per
external clock cycle
• Superscalar allows parallel fetch execute
Superscalar v Superpipeline
Limitations
• Instruction level parallelism
• Compiler based optimisation
• Hardware techniques
• Limited by
▫ True data dependency
▫ Procedural dependency
▫ Resource conflicts
▫ Output dependency
▫ Antidependency
True Data Dependency
• ADD r1, r2 (r1 := r1+r2;)
• MOVE r3,r1 (r3 := r1;)
• Can fetch and decode second instruction in
parallel with first
• Can NOT execute second instruction until first is
finished
Procedural Dependency
• Can not execute instructions after a branch in
parallel with instructions before a branch
• Also, if instruction length is not fixed,
instructions have to be decoded to find out how
many fetches are needed
• This prevents simultaneous fetches
Resource Conflict
• Two or more instructions requiring access to the
same resource at the same time
▫ e.g. two arithmetic instructions
• Can duplicate resources
▫ e.g. have two arithmetic units
Output Dependency
• Write-write dependency
▫ R3:=R3 + R5; (I1)
▫ R4:=R3 + 1; (I2)
▫ R3:=R5 + 1; (I3)
▫ R7:=R3 + R4; (I4)
In the above instruction sequence I2 cannot be
executed before I1 as of true dependency and
similar of I4 and I3
If They are not executed sequentially wrong values
will be fetched which is referred as output
dependency
Antidependency
• Write-write dependency
▫ R3:=R3 + R5; (I1)
▫ R4:=R3 + 1; (I2)
▫ R3:=R5 + 1; (I3)
▫ R7:=R3 + R4; (I4)
▫ I3 can not complete before I2 starts as I2 needs a
value in R3 and I3 changes R3
Design Issues
• Instruction level parallelism
▫ Instructions in a sequence are independent
▫ Execution can be overlapped
▫ Governed by data and procedural dependency
• Machine Parallelism
▫ Ability to take advantage of instruction level
parallelism
▫ Governed by number of parallel pipelines
Instruction Issue Policy
• Order in which instructions are fetched
• Order in which instructions are executed
• Order in which instructions change registers and
memory
In-Order Issue In-Order Completion
• Issue instructions in the order they occur
• Not very efficient
• May fetch >1 instruction
• Instructions must stall if necessary
In-Order Issue Out-of-Order Completion
• If any instruction is independent on current
instruction then it is then it is allowed to
execute before completion of current instruction
Out-of-Order Issue Out-of-Order Completion
• Decouple decode pipeline from execution pipeline
• Can continue to fetch and decode until this pipeline is
full
• When a functional unit becomes available an instruction
can be executed
• Since instructions have been decoded, processor can
look ahead
Register Renaming
• Output and antidependencies occur because
register contents may not reflect the correct
ordering from the program
• May result in a pipeline stall
• Registers allocated dynamically
▫ i.e. registers are not specifically named
Superscalar Execution
Superscalar Implementation
• Simultaneously fetch multiple instructions
• Logic to determine true dependencies involving
register values
• Mechanisms to communicate these values
• Mechanisms to initiate multiple instructions in
parallel
• Resources for parallel execution of multiple
instructions
• Mechanisms for committing process state in
correct order
Programmers model
Data Transfer Instructions
• Move data between memory and the general
purpose and segment registers.
• Perform some operations as conditional moves,
stack access, and data conversion

More Related Content

What's hot

Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
Vinit Raut
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
Mihika Shah
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
Register Organization of 80386
Register Organization of 80386Register Organization of 80386
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
Estiak Khan
 
Input output interface
Input output interfaceInput output interface
Input output interface
Christ University
 
Memory organization
Memory organizationMemory organization
Memory organization
Dhaval Bagal
 
Intel 80486 Microprocessor
Intel 80486 MicroprocessorIntel 80486 Microprocessor
Intel 80486 Microprocessor
Darpan Dekivadiya
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
mudulin
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
Anirban Saha Anik
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
Syed Ahmed Zaki
 
Chapter 2 The 8088 Microprocessor
Chapter 2   The 8088 MicroprocessorChapter 2   The 8088 Microprocessor
Chapter 2 The 8088 Microprocessor
Dwight Sabio
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
cs19club
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
Ravi Anand
 
x86 architecture
x86 architecturex86 architecture
x86 architecture
i i
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
MNM Jain Engineering College
 
design of accumlator
design of accumlatordesign of accumlator
design of accumlator
SangeethaSasi1
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 

What's hot (20)

Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Register Organization of 80386
Register Organization of 80386Register Organization of 80386
Register Organization of 80386
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Intel 80486 Microprocessor
Intel 80486 MicroprocessorIntel 80486 Microprocessor
Intel 80486 Microprocessor
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 
Chapter 2 The 8088 Microprocessor
Chapter 2   The 8088 MicroprocessorChapter 2   The 8088 Microprocessor
Chapter 2 The 8088 Microprocessor
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
 
x86 architecture
x86 architecturex86 architecture
x86 architecture
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
 
design of accumlator
design of accumlatordesign of accumlator
design of accumlator
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 

Viewers also liked

Pentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil KawarePentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Pentium
PentiumPentium
Comparison of pentium processor with 80386 and 80486
Comparison of pentium processor with  80386 and 80486Comparison of pentium processor with  80386 and 80486
Comparison of pentium processor with 80386 and 80486
Tech_MX
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
yash sawarkar
 
Pentium processor
Pentium processorPentium processor
Pentium processor
salmanjilani
 
Pentium iii
Pentium iiiPentium iii
Pentium iii
Shreya Baheti
 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486
Ancy Varghese
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
Annies Minu
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo Processor
Kashif Latif
 
Pentinum 2
Pentinum 2Pentinum 2
Pentinum 2
Prateek Pandey
 
Pentium microprocessor
Pentium microprocessorPentium microprocessor
Pentium microprocessor
tanzidshawon
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
aviban
 
Pentium II
Pentium IIPentium II
Pentium II
Jeanie Delos Arcos
 
8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory
Saumay Paul
 
8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay
Vijay Kumar
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
Teja Bheemanapally
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
Gurudev joshi
 
Al2ed chapter3
Al2ed chapter3Al2ed chapter3
Al2ed chapter3
Abdullelah Al-Fahad
 
Pentium
PentiumPentium
Evolution of microprocessors and 80486 Microprocessor.
Evolution of microprocessors and 80486 Microprocessor.Evolution of microprocessors and 80486 Microprocessor.
Evolution of microprocessors and 80486 Microprocessor.
Ritwik MG
 

Viewers also liked (20)

Pentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil KawarePentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil Kaware
 
Pentium
PentiumPentium
Pentium
 
Comparison of pentium processor with 80386 and 80486
Comparison of pentium processor with  80386 and 80486Comparison of pentium processor with  80386 and 80486
Comparison of pentium processor with 80386 and 80486
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
Pentium iii
Pentium iiiPentium iii
Pentium iii
 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo Processor
 
Pentinum 2
Pentinum 2Pentinum 2
Pentinum 2
 
Pentium microprocessor
Pentium microprocessorPentium microprocessor
Pentium microprocessor
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
 
Pentium II
Pentium IIPentium II
Pentium II
 
8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory
 
8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
 
Al2ed chapter3
Al2ed chapter3Al2ed chapter3
Al2ed chapter3
 
Pentium
PentiumPentium
Pentium
 
Evolution of microprocessors and 80486 Microprocessor.
Evolution of microprocessors and 80486 Microprocessor.Evolution of microprocessors and 80486 Microprocessor.
Evolution of microprocessors and 80486 Microprocessor.
 

Similar to Pentium processor

8086 architecture
8086 architecture8086 architecture
8086 architecture
saravanan karuppasamy
 
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
vtunotesbysree
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
Premier Farnell
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
Dr.YNM
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
gomathy S
 
Z 80 processors (History-Products)
Z 80 processors (History-Products)Z 80 processors (History-Products)
Z 80 processors (History-Products)
Mohammed Hilal
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
Shehrevar Davierwala
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
sagar Ramdev
 
Mpi unit i_8086_architectures
Mpi unit i_8086_architecturesMpi unit i_8086_architectures
Mpi unit i_8086_architectures
Shehrevar Davierwala
 
Introduction to 80386 microprocessor
Introduction to 80386 microprocessorIntroduction to 80386 microprocessor
Introduction to 80386 microprocessor
Shehrevar Davierwala
 
Avr report
Avr reportAvr report
Avr report
NITISH KUMAR
 
Lec05
Lec05Lec05
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
GurleenKaur408
 
Computer Organization & Architecture (COA) Unit 2
Computer Organization & Architecture (COA) Unit 2Computer Organization & Architecture (COA) Unit 2
Computer Organization & Architecture (COA) Unit 2
parthivrathodlits
 
486 or 80486 DX Architecture
486 or 80486 DX Architecture486 or 80486 DX Architecture
486 or 80486 DX Architecture
Muthusamy Arumugam
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
Koteswari Kasireddy
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
Rai University
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
Premier Farnell
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
BASKARS53
 
Microprocessor (1)
Microprocessor (1)Microprocessor (1)
Microprocessor (1)
Muhd Azlan
 

Similar to Pentium processor (20)

8086 architecture
8086 architecture8086 architecture
8086 architecture
 
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Z 80 processors (History-Products)
Z 80 processors (History-Products)Z 80 processors (History-Products)
Z 80 processors (History-Products)
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 
Mpi unit i_8086_architectures
Mpi unit i_8086_architecturesMpi unit i_8086_architectures
Mpi unit i_8086_architectures
 
Introduction to 80386 microprocessor
Introduction to 80386 microprocessorIntroduction to 80386 microprocessor
Introduction to 80386 microprocessor
 
Avr report
Avr reportAvr report
Avr report
 
Lec05
Lec05Lec05
Lec05
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Computer Organization & Architecture (COA) Unit 2
Computer Organization & Architecture (COA) Unit 2Computer Organization & Architecture (COA) Unit 2
Computer Organization & Architecture (COA) Unit 2
 
486 or 80486 DX Architecture
486 or 80486 DX Architecture486 or 80486 DX Architecture
486 or 80486 DX Architecture
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Microprocessor (1)
Microprocessor (1)Microprocessor (1)
Microprocessor (1)
 

Recently uploaded

AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 

Recently uploaded (20)

AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 

Pentium processor

  • 2. Features of Pentium • Introduced in 1993 with clock frequency ranging from 60 to 66 MHz • The primary changes in Pentium Processor were: – Superscalar Architecture – Dynamic Branch Prediction – Pipelined Floating-Point Unit – Separate 8K Code and Data Caches – Writeback MESI Protocol in the Data Cache – 64-Bit Data Bus – Bus Cycle Pipelining
  • 4. Pentium Architecture • It has data bus of 64 bit and address bus of 32- bit • There are two separate 8kB caches – one for code and one for data. • Each cache has a separate address translation TLB which translates linear addresses to physical. • Code Cache: – 2 way set associative cache – 256 lines b/w code cache and prefetch buffer, permitting prefetching of 32 bytes (256/8) of instructions
  • 5. Pentium Architecture • Prefetch Buffers: ▫ Four prefetch buffers within the processor works as two independent pairs.  When instructions are prefetched from cache, they are placed into one set of prefetch buffers.  The other set is used as when a branch operation is predicted. ▫ Prefetch buffer sends a pair of instructions to instruction decoder • Instruction Decode Unit: ▫ It occurs in two stages – Decode1 (D1) and Decode2(D2) ▫ D1 checks whether instructions can be paired ▫ D2 calculates the address of memory resident operands
  • 6. Pentium Architecture • Control Unit : ▫ This unit interprets the instruction word and microcode entry point fed to it by Instruction Decode Unit ▫ It handles exceptions, breakpoints and interrupts. ▫ It controls the integer pipelines and floating point sequences • Microcode ROM : ▫ Stores microcode sequences • Arithmetic/Logic Units (ALUs) : ▫ There are two parallel integer instruction pipelines: u- pipeline and v-pipeline ▫ The u-pipeline has a barrel shifter ▫ The two ALUs perform the arithmetic and logical operations specified by their instructions in their respective pipeline
  • 7. Pentium Registers • Four 32-bit registers can be used as ∗ Four 32-bit register (EAX, EBX, ECX, EDX) ∗ Four 16-bit register (AX, BX, CX, DX) ∗ Eight 8-bit register (AH, AL, BH, BL, CH, CL, DH, DL) • Some registers have special use ∗ ECX for count in loop instructions
  • 8. Pentium Registers (Eflags) • Flags never change for any data transfer or program control operation. • Some of the flags are also used to control features found in the microprocessor.
  • 9. • Flag bits, with a brief description of function. • C (carry) holds the carry after addition or borrow after subtraction. ▫ also indicates error conditions • P (parity) is the count of ones in a number expressed as even or odd. Logic 0 for odd parity; logic 1 for even parity. ▫ if a number contains three binary one bits, it has odd parity ▫ if a number contains no one bits, it has even parity
  • 10. • C (carry) holds the carry after addition or borrow after subtraction. ▫ also indicates error conditions • P (parity) is the count of ones in a number expressed as even or odd. Logic 0 for odd parity; logic 1 for even parity. ▫ if a number contains three binary one bits, it has odd parity; If a number contains no one bits, it has even parity • A (auxiliary carry) holds the carry (half- carry) after addition or the borrow after subtraction between bit positions 3 and 4 of the result.
  • 11. • Z (zero) shows that the result of an arithmetic or logic operation is zero. • S (sign) flag holds the arithmetic sign of the result after an arithmetic or logic instruction executes. • T (trap) The trap flag enables trapping through an on-chip debugging feature. • I (interrupt) controls operation of the INTR (interrupt request) input pin. • D (direction) selects increment or decrement mode for the DI and/or SI registers. • O (overflow) occurs when signed numbers are added or subtracted. ▫ an overflow indicates the result has exceeded the capacity of the machine
  • 12. • IOPL used in protected mode operation to select the privilege level for I/O devices. • NT (nested task) flag indicates the current task is nested within another task in protected mode operation. • RF (resume) used with debugging to control resumption of execution after the next instruction. • VM (virtual mode) flag bit selects virtual mode operation in a protected mode system
  • 13. • AC, (alignment check) flag bit activates if a word or doubleword is addressed on a non-word or non- doubleword boundary. • VIF is a copy of the interrupt flag bit available to the Pentium 4–(virtual interrupt) • VIP (virtual) provides information about a virtual mode interrupt for (interrupt pending) Pentium. ▫ used in multitasking environments to provide virtual interrupt flags • ID (identification) flag indicates that the Pentium microprocessors support the CPUID instruction. ▫ CPUID instruction provides the system with information about the Pentium microprocessor
  • 15. • CD cache disable controls the internal cache. If CD=1 , the cache will not fill with new data . If CD=0 misses will cause the cache to fill with new data • NW Not write through selects the mode of operation for the data cache. If NW=1, the data cache is inhibited from cache write though • AM Alignment mask enables alignment checking when set, it only occurs for protected mode • WP write protect protects user level pages against supervisor level write operations. When WP=1, the supervisor can write to user level segments • NE numeric error enables standard numeric coprocessor error detection.
  • 17. • CLOCK ▫ CLK - Clock (Input)  Fundamental Timing for the Pentium  The CPU uses this signal as the internal processor clock. ▫ BF - Bus Frequency (Input)  Bus Frequency determines the bus-to-core frequency ratio  When BF is strapped to Vcc, the processor will operate at a 2 to 3 bus to core frequency ratio.  When BF is strapped to Vss, the processor will operate at a 1 to 2 bus to core frequency ratio.
  • 18. • Initialization ▫ RESET - (Input)  Forces the CPU to begin execution at a known state. ▫ INIT - Initialization (Input)  The Pentium processor initialization input pin forces the Pentium processor to begin execution in a known state.  The processor state after INIT is the same as the state after RESET except that the internal caches, write buffers, and floating point registers retain the values they had prior to INIT.
  • 19. • Address Bus ▫ A31:A3 - ADDRESS bus lines  Output except for cache snooping ▫ The number of address lines determines the amount of memory supported by the processor. ▫ Determines where in the 4GB memory space or 64K IO space the processor is accessing. ▫ These are input lines when AHOLD & EADS# are active for Inquire Cycles (snooping)
  • 20. • Address Bus ▫ BE7#:BEO#: Byte Enable lines (Outputs) ▫ Byte Enables to enable each of the 8 bytes in the 64-bit data path.  Helps define the physical area of memory or I/O accessed.  The Pentium uses Byte Enables to address locations within a QWORD.  In effect a decode of the address lines A2-A0 which the Pentium does not generate.  Which lines go active depends on the address, and whether a byte, word, double word or quad word is required.
  • 21. • Address Mask ▫ A20M#: Address 20 Mask (Input)  Emulates the address wraparound at 1 MByte which occurs on the 8086.  When A20M# is asserted, the Pentium processor masks physical address bit 20 (A20) before performing a lookup to the internal caches or driving a memory cycle on the bus.  A20#M must be asserted only when the processor is in real mode. • Internal Parity ▫ IERR# - Internal Error (Output)  Alerts System of Internal Parity Errors
  • 22. • Address Parity ▫ AP Address Parity (I/O)  Bi-directional address parity pin for the address lines.  Address Parity is driven by the Pentium processor with even parity information on all CPU generated cycles in the same clock that the address is driven  Even parity must be driven back to the CPU during inquire cycles on this pin in the same clock as EADS#.  Not supported on all systems ▫ APCHK#: Address Parity Check Signal (Output)  The status of the address parity check is driven on the APCHK# output.  Even Parity Checking
  • 23. • Data Bus. ▫ D63:DO - Data Lines (I/O).  The bi-directional 64-bit data path to or from the CPU.  The signal W/R# distinguishes direction.  During reads, the CPU samples the data bus when BRDY# is asserted. ▫ DP7: DP0 - Data Parity (I/O)  Bi-directional data parity pins for the data bus.  Even Parity Check. One for each byte of the data bus  Output on writes, Input on reads.  Not supported on all systems.
  • 24. • Bus Control ▫ ADS# - Address Strobe (output)  Indicates that a new valid bus cycle is currently being driven by the Pentium processor.  The following are some of the signals which are valid when ADS#=0  Addresses (A31:3)  Byte Enables (BE7#:0#)  Bus Cycle definition (M/IO#; D/C#; W/R#, CACHE#)  From power-on the ADS# signal should be asserted periodically when bus cycles are running
  • 25. • Bus Control (Cont.) ▫ BRDY# - Burst Ready (Input)  Transfer complete indication.  The burst ready input indicates that the external system has presented data on the data pins in response to a read or that the external system has accepted the Pentium processor data in response to a write request.  This signal ends the current bus cycle and is used to extend bus cycles to allow slow devices extra time.  If LOW (non-burst cycles), this signal ends the current bus cycle and the next bus cycle can begin.  If HIGH the Pentium is prevented from continuing processing and wait states are added.
  • 26. • Bus Cycle Definition ▫ M/IO# - Memory or Input/Output (output)  M/IO# distinguishes between Memory and I/O cycles.  The memory/input-output is one of the primary bus cycle definition pins.  1 = Memory Cycle  0 = Input/Output Cycle  It is driven valid in the same clock as the ADS# signal is asserted.
  • 27. • Bus Cycle Definition (Cont.) ▫ D/C# - Data or Code (output)  D/C# distinguishes between data and code or special cycles (control)  The data/code output is one of the primary bus cycle definition pins.  1 = Data  0 = Code / Control »Control for Interrupt Acknowledge or Special Cycles  It is driven valid in the same clock as the ADS# signal is asserted.
  • 28. • Bus Cycle Definition (Cont.) ▫ W/R# - Write or Read (output) W/R# distinguishes between Write and Read cycles. Write/read is one of the primary bus cycle definition pins.  1 = Write  0 = Read It is driven valid in the same clock as the ADS# signal is asserted.
  • 29. • Bus Cycle Definition (Cont.) ▫ Cache# - Cache ability (output)  Processor indication of internal cache ability.  The L1 cache must be enabled using the CD bit in CR0 for Cache# to be asserted low.  The Cache# signal could also be described as the BURST instruction signal, because the Cache# signal (qualified with KEN#) results in a burst mode transfer of 32 bytes of code or data.  Cache# and Ken# are used together to determine if a read will be turned into a linefill. (Burst cycle).  During write-back cycles, the CPU asserts the CACHE# signal (KEN# does not have to be asserted)
  • 30. • Bus Cycle Definition (Cont.) ▫ NA# - Next Address (Input)  Indicates external memory is prepared for a pipeline cycle.  An active next address input indicates that the external memory system is ready to accept a new bus cycle although all data transfers for the current cycle have not yet completed.  When NA# is asserted, the Pentium supplies the address for the start of the next transfer early, so that the memory system can latch the new address before the transfer is ready to start.  A detailed discussion of Address Pipelining is beyond the scope of this course.
  • 31. • Bus Cycle Definition (Cont.) ▫ Lock# - Bus Lock (Output)  The bus lock pin indicates that the current bus cycle is locked, typically for a read-modify-write operation.  The CPU will not allow a bus hold when LOCK# is asserted.  Locked cycles are generated when the programmer prefixes certain instructions with the LOCK prefix.  e.g. LOCK INC [EDI] ;Increment a memory location  Locked cycles are generated automatically for certain bus transfer operations.  Interrupt Acknowledge cycles  The XCHG instructions when 1 operand is memory-based.  See Pentium manual for more details.
  • 32. • Cache Control ▫ KEN# - Cache Enable (Input)  Indicates to the Pentium whether or not the system can support a cache line fill for the current cycle.  Cache# and Ken# are used together to determine if a read will be turned into a linefill. (Burst cycle). ▫ WB/WT# - Write-back/Write-through (Input)  This pin allows a cache line to be defined as a a write back or write-through on a line by line basis.
  • 33. • Bus Arbitration ▫ HOLD - Bus Hold (Input)  Allows another bus master complete control of the CPU bus.  In response to the bus hold request, the Pentium processor will float most of its output and input/output pins and assert HLDA after completing all outstanding bus cycles.  The Pentium processor will maintain its bus in this state until HOLD is de-asserted. ▫ HLDA - Bus Hold Acknowledge (Output)  External indication that the Pentium™ outputs are floated.
  • 34. • Bus Arbitration (Cont.) ▫ BOFF# - Backoff (Input)  Forces the Pentium to get off the bus in the next clock.  After BOFF# is removed, the Pentium restarts the bus cycle. ▫ BREQ - Bus Request (output)  Indicates externally when a bus cycle is pending internally.  Used to inform the arbitration logic that the Pentium need control of the bus to perform a bus cycle.
  • 35. • Interrupts ▫ INTR - Maskable Interrupt (Input)  Indicates that an external interrupt has been generated.  If the IF(Interrupt Enable Flag) bit in the EFLAGS register is set, the Pentium processor will generate two locked interrupt acknowledge bus cycles (to get type number) and vectors to an interrupt handler after the current instruction execution is completed. ▫ NMI - Non-Maskable Interrupt (Input)  Indicates that an external non maskable interrupt has been generated.  The Pentium processor will vector to a Type 2 interrupt handler after the current instruction execution is completed
  • 36. • Probe Mode ▫ R/S# - Resume/Stop [Run/Scan] (Input)  The run/stop input is an asynchronous, edge- sensitive interrupt used to stop the normal execution of the processor and place it into an idle state. ▫ PRDY - Probe Ready (Output)  The probe ready output pin indicates that the processor has stopped normal execution in response to the R/S# pin going active. The CPU enters Probe Mode.
  • 37. What is Superscalar? • Common instructions (arithmetic, load/store, conditional branch) can be initiated and executed independently • Equally applicable to RISC & CISC • In practice usually RISC
  • 39. Superpipelined • Many pipeline stages need less than half a clock cycle • Double internal clock speed gets two tasks per external clock cycle • Superscalar allows parallel fetch execute
  • 41. Limitations • Instruction level parallelism • Compiler based optimisation • Hardware techniques • Limited by ▫ True data dependency ▫ Procedural dependency ▫ Resource conflicts ▫ Output dependency ▫ Antidependency
  • 42. True Data Dependency • ADD r1, r2 (r1 := r1+r2;) • MOVE r3,r1 (r3 := r1;) • Can fetch and decode second instruction in parallel with first • Can NOT execute second instruction until first is finished
  • 43. Procedural Dependency • Can not execute instructions after a branch in parallel with instructions before a branch • Also, if instruction length is not fixed, instructions have to be decoded to find out how many fetches are needed • This prevents simultaneous fetches
  • 44. Resource Conflict • Two or more instructions requiring access to the same resource at the same time ▫ e.g. two arithmetic instructions • Can duplicate resources ▫ e.g. have two arithmetic units
  • 45. Output Dependency • Write-write dependency ▫ R3:=R3 + R5; (I1) ▫ R4:=R3 + 1; (I2) ▫ R3:=R5 + 1; (I3) ▫ R7:=R3 + R4; (I4) In the above instruction sequence I2 cannot be executed before I1 as of true dependency and similar of I4 and I3 If They are not executed sequentially wrong values will be fetched which is referred as output dependency
  • 46. Antidependency • Write-write dependency ▫ R3:=R3 + R5; (I1) ▫ R4:=R3 + 1; (I2) ▫ R3:=R5 + 1; (I3) ▫ R7:=R3 + R4; (I4) ▫ I3 can not complete before I2 starts as I2 needs a value in R3 and I3 changes R3
  • 47. Design Issues • Instruction level parallelism ▫ Instructions in a sequence are independent ▫ Execution can be overlapped ▫ Governed by data and procedural dependency • Machine Parallelism ▫ Ability to take advantage of instruction level parallelism ▫ Governed by number of parallel pipelines
  • 48. Instruction Issue Policy • Order in which instructions are fetched • Order in which instructions are executed • Order in which instructions change registers and memory
  • 49. In-Order Issue In-Order Completion • Issue instructions in the order they occur • Not very efficient • May fetch >1 instruction • Instructions must stall if necessary
  • 50. In-Order Issue Out-of-Order Completion • If any instruction is independent on current instruction then it is then it is allowed to execute before completion of current instruction
  • 51. Out-of-Order Issue Out-of-Order Completion • Decouple decode pipeline from execution pipeline • Can continue to fetch and decode until this pipeline is full • When a functional unit becomes available an instruction can be executed • Since instructions have been decoded, processor can look ahead
  • 52. Register Renaming • Output and antidependencies occur because register contents may not reflect the correct ordering from the program • May result in a pipeline stall • Registers allocated dynamically ▫ i.e. registers are not specifically named
  • 54. Superscalar Implementation • Simultaneously fetch multiple instructions • Logic to determine true dependencies involving register values • Mechanisms to communicate these values • Mechanisms to initiate multiple instructions in parallel • Resources for parallel execution of multiple instructions • Mechanisms for committing process state in correct order
  • 56. Data Transfer Instructions • Move data between memory and the general purpose and segment registers. • Perform some operations as conditional moves, stack access, and data conversion