Docsity

AMD K7 Processor: Architecture, Features, and Performance, Slides of Computer Architecture and Organization

Partial preview of the text

Download AMD K7 Processor: Architecture, Features, and Performance and more Slides Computer Architecture and Organization in PDF only on Docsity!

AMD K7 Processor Architecture

Introduction

  • AMD K7 is the first 7 th^ generation PC CPU. First six generations were

8086, 80286, 80386, 80486, Pentium (AMD K5/K6) and Pentium II

(AMD K6-2/K6-3). It is designed to operate above 500MHz.

  • AMD K7,also known as AMD Athlon, was introduced in the first half

of 1999 and its architecture forms the basis for the subsequent

Athlon XP versions until the release of K8 (AMD Hammer).

  • Its competitor, Intel Pentium III was also released in the same year

and these two processors will be compared whenever possible

throughout the presentation.

Main Features

• K7 uses Digital™ Alpha™ EV6 system bus interface.

This is probably the most important architectural

difference from the previous generations. EV

provides:

  • Use of both rising and falling edges, resulting in doubled bus speed
  • Scalability beyond 200MHz(beyond 400MHz bus speed)
  • Highest bandwidth of that time: Athlon using 100MHz(x2)  1.60 GB/s PIII using 133MHz  1.01 GB/s
    • 72(64 + 8ECC) bit data bus
    • Independent address bus able to address 8 terabytes
    • Independent snoop bus Docsity.com

Main Features – EV6 cont.

  • low-voltage signaling for low-

cost motherboard implementations  Motherboards with GeForce, Dolby and Ethernet available below $80.

  • Point-to-Point topology with

clock forwarding for scalable multiprocessing.

Cache Architecture

  • Separate L1 instruction and data caches
  • Both are 64kB, 64-bit, 2-way set associative, dual

ported and have 24-entry(32-entry for DC) L1 TLB, 256-entry L2 TLB.

  • IC stores predecode information to assist multiple

instruction decoders.

  • L2 cache controller can interface up to 8MB industry

standard SDR or DDR SRAMs and provides full tag for 512kB cache or partial tag for larger caches. Interface is 64+8ECC

Cache Competition

• AMD Athlon(1999):

  • 2x64kB, 64-bit, 2-way, 3~ L1 cache with 64-byte lines
  • 512kB, 64-bit, 2-way, 18~ off-chip L2 with 64-byte lines

• Intel PIII Katmai(1999):

  • 2x16kB, 64-bit, 4-way, 3~ L1 cache with 32-byte lines
  • 512kB, 64-bit, 2-way, 21~ off-chip L2 with 32-byte lines

• Intel PIII Coppermine(1999): L2 changed to

  • 256kB, 256-bit, 8-way, 4~ on-chip

• AMD Athlon Thunderbird(2000):L2 changed to

  • 256kB, 64-bit, 16-way, 7~ on-chip
  • Exclusive cache structure meaning that data in L1 and L2 caches

are different

Pipeline Architecture - Decoders

  • 3-way Decoders convert instructions into fixed-length “Macro-Ops” (or MOPs) and send to ICU
  • ICU contains 72 entries vs. 20 entries of PIII  superior out-of-order execution performance

Pipeline – Integer Execution Units

- 3 IEU, 3 AGU

  • 15 entry integer scheduler
  • 24 entry 32bit 9 read 8 write

register file

Pipeline – Load/Store Unit

  • 44 entry Load/Store queue
  • Data forwarding from

stores to dependent loads

Pipeline - Stages

Integer Floating Point

Stage 1 Fetch Fetch

Stage 2 Scan Scan

Stage 3 Align1 Align

Stage 4 Align2 Align

Stage 5 Early Decode (EDEC) Early Decode (EDEC)

Stage 6 IDEC IDEC

Stage 7 Schedule Stack Rename

Stage 8 Execute Register Rename

Stage 9 Address Generation Schedule Write

Stage 10 Data Cache Access Schedule

Stage 11 Register File Read

Stage 12 Floating-point execution

Stage 13 Floating-point execution

Stage 14 Floating-point execution

Stage 15 Floating-point execution Docsity.com

Branch Prediction

– Return address stack: 12-entry

optimizes CALL/RET instruction pairs

– BPT is accessed during Fetch stage and prediction

is made during scan stage using Smith Prediction

Algorithm (2-bit counters)

– Misprediction penalty is 10 cycles

• Approximate Correct Branch Predictions

– AMD Athlon: 95%

– Intel Pentium III: 90-92%

3DNow! Technology

• 3DNow! is a set of SIMD instructions designed to

accelerate the FP-intensive multimedia applications.

• Instructions operate on two packed single-precision

32-bit doublewords simultaneously:

Dst[63:32] = Dst[63:32] op Src[63:32]

Dst[31:00] = Dst[31:00] op Src[31:00]

3DNow! Technology

  • Instead of division and sqrt, reciprocal and reciprocal sqrt are implemented in AMD K7 since they are encountered more often in multimedia applications.
  • MMX and 3DNow! instructions have at most 4 cycle latency (only for 3DNow! Add and Mul ) and 1 cycle throughput. This is much faster than single precision FP division(13~) and sqrt(16~).
  • Using 2 FP pipelines simultaneously, maximum throughput is 4 FPops/~.

Integer Performance of AMD Athlon