20.02.2013 Views

Sable CPU Module Specification

Sable CPU Module Specification

Sable CPU Module Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Copyright © 1993 Digital Equipment Corporation.<br />

3.9.1 Required PALcode Instructions<br />

The PALcode instructions listed in Table 20 are described in the Alpha Architecture<br />

Handbook.<br />

Table 20: Required PALcode Instructions<br />

Mnemonic Type Operation<br />

HALT Privileged Halt processor<br />

IMB Unprivileged I-stream memory barrier<br />

3.9.2 Architecturally Reserved PALcode Instructions<br />

The hardware-specific instructions shown in Table 21 are executed in the PALcode<br />

environment. They produce OPCDEC exceptions if executed while not in the PALcode<br />

environment. These instructions are mapped using the architecturally reserved<br />

opcodes (PAL19, PAL1B, PAL1D, PAL1E, PAL1F). They can only be used while executing<br />

chip-specific PALcode.<br />

Table 21: Instructions Specific to the 21064<br />

Mnemonic Type Operation<br />

HW_MTPR PALmode, Privileged Move data to processor register<br />

HW_MFPR PALmode, Privileged Move data from processor register<br />

HW_LD PALmode, Privileged Load data from memory<br />

HW_ST PALmode, Privileged Store data in memory<br />

HW_REI PALmode, Privileged Return from PALmode exception<br />

Programming note: PALcode uses the HW_LD and HW_ST instructions to access<br />

memory outside of the realm of normal Alpha AXP memory management.<br />

3.9.3 PAL_TEMPs<br />

The 21064 contains 32 registers that provide temporary storage for PALcode. These<br />

registers are accessible through HW_MXPR instructions.<br />

3.9.4 Data Cache Status Register (C_STAT)<br />

The DC_STAT is a read-only IPR and is for diagnostic use only.<br />

In order to use this register, software must first execute the following instruction<br />

before executing the load or store, whose D-cache probe result is recorded in DC_<br />

HIT.<br />

HW_MTPR R31, 4B (hex)<br />

70 Functions Located on the DECchip 21064

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!