EasyManua.ls Logo

AMD AMD5K86 - User Manual

AMD AMD5K86
416 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
.
AMD5
K
86™ Processor
Technical Reference Manual
AMD
~

Table of Contents

Question and Answer IconNeed help?

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

AMD AMD5K86 Specifications

General IconGeneral
Architecturex86
Core Count1
Clock Speed133 MHz
FSB33 MHz
Voltage3.3V
L1 Cache16 KB

Summary

Preface

Notation

Describes the notation used throughout the manual for clarity and consistency.

Terminology

Defines key terms related to processor signals, bus cycles, and operations.

Overview

Features

Lists the processor's standard features, high-performance aspects, and extensions.

High-Performance Cache and TLBs

Details the processor's cache and Translation Lookaside Buffer capabilities for enhanced performance.

Extended Features

Highlights processor extensions including CR4, new instructions, and MSRs.

Low Power

Describes the processor's low-power design features and states.

Extensive Test and Debug Features

Lists the processor's capabilities for testing and debugging system operation.

Internal Architecture

Prefetch and Predecode

Explains the logic for fetching and decoding x86 instructions into internal ROPs.

Execution Pipeline

Details the processor's pipeline stages and their impact on performance.

Fetch

Describes the processor's instruction fetching mechanism and branch prediction.

Decode

Explains the two-stage decode logic and ROP generation process.

Execute

Details the processor's execution units and their operation.

Integer;Shift Units

Describes the two ALUs responsible for integer, logic, and shift operations.

Floating-Point Unit

Describes the IEEE 854-compatible floating-point unit and its execution capabilities.

Load;Store Units

Details the two load/store units for accessing data cache and memory operands.

Branch Unit

Explains the branch unit's execution of predicted branches with zero delay.

Result

Describes the reorder buffer (ROB) and store buffer for managing speculative execution.

Retire

Explains the retirement stage where results are written to real-state registers.

Cache Organization and Management

Discusses the on-chip instruction and data caches and their organization.

Instruction Cache

Details the characteristics of the 16-Kbyte instruction cache.

Data Cache

Describes the 8-Kbyte data cache and its MESI coherency protocol.

Cache Tags

Explains the dual-tagged linear and physical cache tags.

Cache-Line Fills

Describes the process of filling cache lines from memory after a read miss.

Cache Coherency

Explains the cache-coherency mechanism based on MESI protocol.

Snooping

Defines snooping actions like inquire cycles and internal snoops.

Buffers

Describes various buffers associated with cache operations.

Store Buffer

Details the speculative-state store buffer for managing outgoing operands.

Memory Management Unit (MMU)

Explains address translation using TLBs and page tables.

Paging and the TLBs

Details support for 4-Kbyte and 4-Mbyte paging with separate TLBs.

Software Environment and Extensions

Control Register 4 (CR4) Extensions

Describes bits in CR4 that enable architectural extensions like paging and VME.

4-Mbyte Pages

Details support for 4-Mbyte pages and the associated 4-Mbyte TLB.

Global Pages

Explains how to make pages global for improved performance by retaining TLB entries.

Virtual-8086 Mode Extensions (VME)

Describes performance enhancements for 8086 programs in Virtual-8086 mode.

Protected Virtual Interrupt (PVI) Extensions

Describes support for interrupt virtualization in Protected mode.

Model-Specific Registers (MSRs)

Lists MSRs accessible via RDMSR/WRMSR instructions.

Machine-Check Address Register (MCAR)

Describes the register for latching failed bus cycle addresses.

Time Stamp Counter (TSC)

Describes the 64-bit counter incremented on each processor clock.

New Instructions

Lists instructions implemented by the AMD5K86 processor.

CPUID

Describes the instruction for identifying processor type and features.

Performance

Code Optimization

Covers general superscalar and AMD5K86-specific optimization techniques.

General Superscalar Techniques

Discusses optimization techniques common to superscalar processors.

Techniques Specific to the AMD5 K86 Processor

Details optimizations unique to the AMD5K86 processor.

Dispatch and Execution Timing

Documents functional unit usage and cycle numbers for ROPs.

Notation

Defines mnemonics and operand types used in timing tables.

Integer Instructions

Shows execution-unit usage and timing for integer instructions.

Floating-Point Instructions

Details execution-unit usage and timing for floating-point instructions.

Bus Interface

Signal Overview

Summarizes processor signals, functional groups, and compatibility.

External Interrupts

Differentiates interrupts and exceptions, defining terms used.

Bus Signal Compatibility with Pentium Processor

Describes differences in bus signals between AMD5K86 and Pentium processors.

Signal Descriptions

Provides detailed descriptions of each processor signal.

A20 M (Address Bit 20 Mask)

Explains the signal that clears bit 20 of the address bus in Real mode.

AHOLD (Address Hold)

Explains the signal to obtain control of the address bus for inquire cycles.

BOFF (Backoff)

Describes the signal to force the processor off the bus.

CACHE (Cacheable Access)

Explains the signal specifying a burst cycle.

D;C (Data or Code)

Explains the signal indicating data or code access.

EWBE (External Write Buffer Empty)

Describes signal that delays writes when external buffers are not empty.

FLUSH (Cache Flush)

Describes the signal causing writeback and invalidation of cache lines.

HITM (Inquire Cycle Hit To Modified Line)

Explains the signal indicating an inquire cycle hit a modified line.

HLDA (Bus-Hold Acknowledge)

Explains the signal acknowledging a HOLD request.

HOLD (Bus-Hold Request)

Explains the signal to request control of the bus.

INIT (Initialization)

Explains the signal for reinitializing resources and invoking BIST.

INTR (Maskable Interrupt)

Explains the signal that causes interrupt acknowledgment.

LOCK (Bus Lock)

Explains the signal preserving integrity of bus cycle sequences.

SMI (System Management Interrupt)

Explains the signal causing entry into System Management Mode.

STPCLK (Stop Clock)

Explains the input signal to complete bus cycles and enter low-power states.

W;R (Write or Read)

Explains the signal indicating a write or read cycle.

WB;WT (Writeback or Writethrough)

Explains signals specifying data-cache MESI state for read misses and write hits.

Bus Cycle Overview

Summarizes bus cycle features like definition, addressing, alignment, and priorities.

Cycle Definitions

Defines bus cycle types and signal usage.

Addressing

Describes how addresses are driven on the bus.

Alignment

Defines aligned and misaligned transfers for bus cycles.

Bus-Cycle Priorities

Explains how bus access is managed by system logic.

Bus Cycle Timing

Describes timing and signal relationships during various bus cycles.

Single-Transfer Reads and Writes

Describes memory and I/O bus cycles transferring 1, 2, 4, or 8 bytes.

Burst Cycles

Describes cycles with four sequential eight-byte transfers.

Burst Writeback

Describes writebacks to memory of modified cache lines.

Bus Arbitration and Inquire Cycles

Explains how system logic obtains bus control and drives inquire cycles.

AHOLD-Initiated Inquire Miss

Illustrates an AHOLD-initiated inquire cycle that results in a cache miss.

AHOLD-Initiated Inquire Hit to Modified Line

Illustrates an AHOLD-initiated inquire cycle hitting a modified cache line.

Bus Backoff (BOFF)

Describes the BOFF signal for forcing the processor off the bus.

Locked Cycles

Explains the processor assertion of LOCK for bus cycle integrity.

TLB Miss (4-Kbyte Page)

Illustrates a Translation Lookaside Buffer miss for a 4-Kbyte page.

Interrupt Acknowledge Operation

Describes the bus behavior for acknowledging an INTR interrupt.

Special Bus Cycles

Explains how various signals define special bus cycles.

Mode Transitions, Reset, and Testing

Summarizes topics on system-management, clocking, and initialization.

Transition from Normal Execution to SMM

Shows the processor's transition to System Management Mode (SMM).

System Design

Memory

Discusses processor configuration for memory bus speeds and DRAM types.

Memory Map

Shows a typical physical memory map for DOS-based systems.

Cacheable and Noncacheable Address Spaces

Discusses system-defined cacheable address spaces.

SMM Memory Space and Cacheability

Explains the cacheability of System Management Mode memory space.

Cache

Summarizes principles for controlling bus access and memory coherency.

L2 Cache

Discusses implementation of L2 cache for performance improvement.

Cacheability and Cache-State Control

Explains how signals like PCD, CACHE, KEN, PWT control caching.

Writethrough vs. Writeback Coherency States

Compares writethrough and writeback cache protocols.

Inquire Cycles

Explains how system logic drives inquire cycles for cache coherency.

Bus Arbitration for Inquire Cycles

Describes signals used to obtain bus control for inquire cycles.

AHOLD Arbitration

Explains AHOLD's function for supporting inquire cycles.

Write-Once Protocol

Describes the protocol combining writethrough and writeback features.

System Management Mode (SMM)

Describes SMM as an interrupt-performed mode for power management.

Operating Mode and Default Register Values

Lists SMM environment features and initial register states.

SMM State-Save Area

Details the SMM state-save area map and its contents.

Clock Control

Discusses controlling processor power by reducing clock frequencies.

State Transitions

Lists the five states in the processor's clock-control protocol.

Halt State

Describes the processor entering the Halt state via the HLT instruction.

Stop Grant State

Explains entering the Stop Grant state upon STPCLK assertion.

Stop Clock State

Describes the minimum power state where CLK is turned off.

Noise Reduction

Provides design rules to minimize circuit noise.

Test and Debug

Hardware Configuration Register (HWCR)

Details the HWCR format and fields for configuration bits.

Built-In Self-Test (BIST)

Lists types of built-in self-tests: normal and TAP BIST.

Cache and TLB Testing

Explains array testing using the Array Access Register (AAR).

Array Access Register (AAR)

Describes the MSR for testing cache and TLB arrays.

Debug Registers

Mentions standard debug functions and I/O breakpoint extension.

Branch Tracing

Describes special bus cycles for tracing branch information.

Functional-Redundancy Checking

Describes real-time testing using two processors in a master-checker setup.

Boundary-Scan Test Access Port (TAP)

Explains the JTAG standard for testing complex logic circuits.

Hardware Debug Tool (HDT)

Describes the tool for debugging via signals, registers, and microcode.

Appendix A

Compatibility With the Pentium and 486 Processors

Compares AMD5K86 features with Pentium and 486 processors.

Bus Signals

Compares AMD5K86 and Pentium processor signals.

Bus Interface

Details differences in bus interface behavior compared to Pentium.

Bus Cycle Order of Misaligned Memory and I;O Cycles

Compares misaligned memory and I/O cycle order with Pentium.

Selectable Drive Strengths on Output Driver

Compares selectable drive strengths with Pentium processor.

Bus Mastering Operations (including Snooping)

Discusses AHOLD Snoop and BOFF Asserted behavior.

Write Hit to a Shared Line in the DCACHE

Compares DCACHE write hit behavior with Pentium processor.

Memory Management

Compares memory management features with Pentium and 486 processors.

Speculative TLB Refills

Notes AMD5K86 does not perform speculative TLB refills.

Power Saving Features

Compares power saving features with Pentium processor.

STPCLK in Halt State

Compares STPCLK behavior in Halt state with Pentium processor.

Simultaneous I;O SMI Trap and Debug Breakpoint Trap

Compares processor response to simultaneous SMI and debug traps.

NMI Recognition during SMM

Compares NMI recognition during SMM with Pentium processor.

Exceptions

Compares exception handling behavior with Pentium and 486 processors.

Limit Faults on an Invalid Instruction

Compares prioritization of limit violation vs. invalid opcode faults.

Task Switch

Compares busy bit setting behavior during task switches.

Debug

Highlights differences in debug functions compared to Pentium.

Simultaneous Debug Trap and Debug Fault

Compares serial vs. merged processing of debug conditions.

Related product manuals