
184
Page Attribute Table (PAT)
AMD Athlon™ Processor x86 Code Optimization
22007E/0—November 1999
Figure 17. MTRRphysMask
n
Register Format
Note: A software attempt to write to reserved bits will generate a
general protection exception.
Physical
Specifies a 24-bit mask to determine the range of
Mask
the region defined in the register pair.
V
Enables the register pair when set (V = 0 at reset).
Mask values can represent discontinuous ranges (when the
mask defines a lower significant bit as zero and a higher
significant bit as one). In a discontinuous range, the memory
area not mapped by the mask value is set to the default type.
Discontinuous ranges should not be used.
The range that is mapped by the variable-range MTRR register
pair must meet the following range size and alignment rule:
■
Each defined memory range must have a size equal to 2
n
(11
< n < 36).
■
The base address for the address pair must be aligned to a
similar 2
n
boundary.
An example of a variable MTRR pair is as follows:
To map the address range from 8 Mbytes (0080_0000h) to
16 Mbytes (00FF_FFFFh) as writeback memory, the base
register should be loaded with 80_0006h, and the mask
should be loaded with FFF8_00800h.
0
63
Reserved
10
Symbol
Description
Bits
Physical Mask 24-Bit Mask
35–12
V
Variable Range Register Pair Enabled 11
(V = 0 at reset)
11
35
12
36
Physical Mask
V
Содержание Athlon Processor x86
Страница 1: ...AMD Athlon Processor x86 Code Optimization Guide TM...
Страница 12: ...xii List of Figures AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 16: ...xvi Revision History AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 60: ...44 Code Padding Using Neutral Code Fillers AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 92: ...76 Push Memory Data Carefully AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 122: ...106 Take Advantage of the FSINCOS Instruction AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 156: ...140 AMD Athlon Processor Microarchitecture AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 176: ...160 Write Combining Operations AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 202: ...186 Page Attribute Table PAT AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 252: ...236 VectorPath Instructions AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 256: ...240 Index AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...