
Contents
vii
21850I/0—December 1999
AMD-K6
-2 Processor Data Sheet
Preliminary Information
WBINVD and INVD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Cache-Line Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Cache Snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Writethrough versus Writeback Coherency States . . . . . . . 199
A20M# Masking of Cache Accesses . . . . . . . . . . . . . . . . . . . 199
Write Merge Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
7.11
7.12
8
8.1
8.2
EWBE Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Memory Type Range Registers . . . . . . . . . . . . . . . . . . . . . . . 203
UC/WC Cacheability Control Register (UWCCR) . . . . . . . . 203
Floating-Point and Multimedia Execution Units . . . . . . . . . 207
9
9.1
Floating-Point Execution Unit . . . . . . . . . . . . . . . . . . . . . . . 207
Handling Floating-Point Exceptions . . . . . . . . . . . . . . . . . . . 207
External Logic Support of Floating-Point Exceptions. . . . . 207
Multimedia
and 3DNow! Execution Units . . . . . . . . . . . . 209
Floating-Point and MMX/3DNow! Instruction
Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209
Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
FERR# and IGNNE# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
System Management Mode (SMM) . . . . . . . . . . . . . . . . . . . . 211
9.2
9.3
10
10.1
10.2
10.3
10.4
10.5
10.6
10.7
10.8
10.9
Test and Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211
SMM Operating Mode and Default Register Values . . . . . 211
SMM State-Save Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
SMM Revision Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
SMM Base Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Halt Restart Slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
I/O Trap Dword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
I/O Trap Restart Slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Exceptions, Interrupts, and Debug in SMM . . . . . . . . . . . . 220
11
11.1
11.2
11.3
Built-In Self-Test (BIST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Tri-State Test Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Boundary-Scan Test Access Port (TAP) . . . . . . . . . . . . . . . . 223
Test Access Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
TAP Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
TAP Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
TAP Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .231
TAP Controller State Machine. . . . . . . . . . . . . . . . . . . . . . . . 232
L1 Cache Inhibit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Debug Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Debug Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
11.4
11.5