5-138
Bus Interface
AMD-K5 Processor Technical Reference Manual
18524C/0—Nov1996
■
2- and 4-byte transfers lie within 4-byte address boundaries
■
8-byte transfers lie within 8-byte address boundaries
(For purposes of exceptions, the term aligned means situated
on the natural boundaries of an instruction or operand. Thus, a
2-byte transfer that crosses a 2-byte address boundary may
incur an alignment exception, but it will be performed as an
aligned bus cycle.)
If data on D63–D0 is misaligned, the processor generates addi-
tional bus cycles to complete the transfer. For example, if a 4-
byte transfer begins at address x07h, one byte will be trans-
ferred during the first bus cycle and the remaining three bytes
will be transferred during a second bus cycle, which will nor-
mally occur immediately after the first bus cycle (unless an
interrupt or bus backoff intervenes). If the misaligned transfer
is run as a locked cycle, the processor asserts both LOCK and
SCYC throughout the misaligned sequence of bus cycles.
If memory reads, memory writes, or I/O reads are misaligned,
the AMD-K5 processor runs the bus cycles in the opposite
order of the Pentium processor. The AMD-K5 processor trans-
fers the least-significant bytes first followed by the most-signif-
icant bytes. I/O writes, however, are performed in the same
order on both processors: the most-significant bytes first, fol-
lowed by the least-significant bytes.
For a misaligned CMPXCHG8B operation (that is, the operand
does not lie on an 8-byte quadword boundary), the AMD-K5
processor does two split-cycle reads followed by two split-cycle
writes, all with LOCK asserted, for a total of eight bus cycles.
The Pentium processor combines the cycles for a maximum of
four bus cycles.
Summary of Contents for AMD-K5
Page 1: ...AMD K5 Processor Technical Reference Manual TM...
Page 10: ...x AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 24: ...1 4 Overview AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 54: ...2 30 Internal Architecture AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 116: ...4 26 Performance AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 356: ...6 44 System Design AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 380: ...7 24 Test and Debug AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 396: ...A 16 AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 406: ...I 10 Index AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...