EasyManuals Logo

AMD K5 User Manual

AMD K5
406 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #31 background imageLoading...
Page #31 background image
Execution Pipeline 2-7
18524C/0Nov1996 AMD-K5 Processor Technical Reference Manual
2.2.2 Decode
The two-stage decode logic accepts predicted x86 instruction
bytes and their predecode bits from the fetch logic, shifts them
into a 16-byte FIFO buffer called the byte queue, merges regis-
ter tags and operands, and generates internal RISC operations
(ROPs). The decode logic also generates microcode entry
points for complex instructions, interrupts and exceptions, and
several other functions, and it manages the floating-point
stack.
ROPs are fixed-format internal instructions with up to three
operands. Most ROPs execute in a single clock. The operands
(up to two source and one destination) can be 1-, 2-, or 4-bytes
wide, or half of an 8- or 10-byte floating-point operand. ROPs
can be combined to perform every function of an x86 instruc-
tion. One x86 instruction can be decoded into as few as one
ROP (for example, a register-to-register add), or it can be
decoded into several ROPs, depending on its complexity.
The processor uses a combination of hardware and microcode
to convert x86 instructions into ROPs. The hardware consists
of four parallel fastpath converters that translate the most
commonly used x86 instructions (moves, shifts, branches,
ALUs) into one, two, or three ROPs. Translations requiring
more than three ROPs (complex instructions, serializing condi-
tions, interrupts and exceptions, etc.) are handled by micro-
code. Microcode generates the same types of ROPs as the
fastpath hardware but in streams longer than three. The prede-
code information stored with each x86 instruction byte speci-
fies the number of ROPs that instruction requires, or it
specifies that microcode is required. The decoder provides the
entry point into microcode for complex operations.
Pipeline serialization (or synchronization) is handled at the
decode stage. When the processor decodes a serializing instruc-
tion, it stops decoding at that instruction, waits for all previ-
ously decoded instructions to retire (described in Section 2.2.5
on page 2-12), then decodes and executes through retirement
the serializing instruction before decoding any additional
instructions. Thus, the serializing instruction is guaranteed to
execute in program order.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMD K5 and is the answer not in the manual?

AMD K5 Specifications

General IconGeneral
ManufacturerAMD
ModelK5
Architecturex86
MicroarchitectureK5
Introduction Year1996
Clock Speed75 - 133 MHz
Core Count1
SocketSocket 7
Core steppingSSA/5, 5k86
Voltage3.3V
Transistors4.3 million
L1 Cache8 KB (data) + 16 KB (instruction)
FSB50 MHz to 66 MHz
Process Technology350 nm

Related product manuals