AMD AMD-K6-2/450 Design Guide - Page 54

L2 Data-EAX, Table 21., Tag versus Data Selector

Page 54 highlights

Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide 23913A/0-November 2000 Table 21. Tag versus Data Selector Instruction T/D (EDX[20]) Operation RDMSR 0 Read dword from L2 data array into EAX. Dword location is specified by EDX. RDMSR 1 Read tag, line state and LRU information from L2 tag array into EAX. Location of tag is specified by EDX. WRMSR 0 Write dword to the L2 data array using data in EAX. Dword location is specified by EDX. WRMSR 1 Write tag, line state and LRU information into L2 tag array from EAX. Location of tag is specified by EDX. When the L2AAR is read or written, EDX is left unchanged. This facilitates multiple accesses when testing the entire cache/tag array. If the L2 cache data is read (as opposed to reading the tag information), the result (dword) is placed in EAX in the format as illustrated in Figure 14. Similarly, if the L2 cache data is written, the write data is taken from EAX. 31 0 Data Figure 14. L2 Data-EAX If the L2 tag is read (as opposed to reading the cache data), the result is placed in EAX in the format as illustrated in Figure 15 on page 43. Similarly, if the L2 tag is written, the write data is taken from EAX. When accessing the L2 tag, the Line, Octet, and Dword fields of the EDX register are ignored. 42 Model 9 Registers

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

42
Model 9 Registers
Embedded AMD-K6™ Processors BIOS Design Guide
23913A/0—November 2000
Preliminary Information
When the L2AAR is read or written, EDX is left unchanged.
This facilitates multiple accesses when testing the entire
cache/tag array.
If the L2 cache data is read (as opposed to reading the tag
information), the result (dword) is placed in EAX in the format
as illustrated in Figure 14. Similarly, if the L2 cache data is
written, the write data is taken from EAX.
Figure 14.
L2 Data—EAX
If the L2 tag is read (as opposed to reading the cache data), the
result is placed in EAX in the format as illustrated in Figure 15
on page 43. Similarly, if the L2 tag is written, the write data is
taken from EAX.
When accessing the L2 tag, the Line, Octet, and Dword fields of
the EDX register are ignored.
Table 21.
Tag versus Data Selector
Instruction
T/D
(EDX[20])
Operation
RDMSR
0
Read dword from L2 data array into EAX. Dword location
is specified by EDX.
RDMSR
1
Read tag, line state and LRU information from L2 tag array
into EAX. Location of tag is specified by EDX.
WRMSR
0
Write dword to the L2 data array using data in EAX. Dword
location is specified by EDX.
WRMSR
1
Write tag, line state and LRU information into L2 tag array
from EAX. Location of tag is specified by EDX.
0
31
Data