Compaq 21264, EV67 specifications IPR Access Ordering, Paired Instruction Fetch Order

Models: 21264 EV67

1 356
Download 356 pages 49.13 Kb
Page 193
Image 193

Internal Processor Register Access Mechanisms

6.5.3 Hardware Structure of Implicitly Written IPRs

Implicitly written IPRs are physically built using only a single level of register, how- ever the IPR has two hardware states associated with it:

1.Default State—The contents of the register may be written when an instruction gen- erates an exception. If an exception occurs, write a new value into the IPR and go to state 2.

2.Locked State—The contents of the register may only be overwritten by an except- ing instruction that is older than the instruction associated with the contents of the IPR. If such an exception occurs, overwrite the value of the IPR. When the trigger- ing instruction, or instruction that is older than the triggering instruction, is killed by the Ibox, go to state 1.

6.5.4IPR Access Ordering

IPR access mechanisms must allow values to be passed through each IPR from a pro- ducer to its intended consumers.

Table 6–7lists all of the paired instruction orderings between instructions of the four IPR access types. It specifies whether access order must be maintained, and if so, the mechanisms used to ensure correct ordering.

Table 6–7 Paired Instruction Fetch Order

Second

 

 

 

 

Instruction

 

First Instruction

 

 

 

 

 

 

 

Implicit Reader

Implicit Writer

Explicit Reader

Explicit Writer

 

 

 

 

 

Implicit

Read transac-

No IPRs in this class.

Read transactions can

A variety of mechanisms are

Reader

tions can be

 

be reordered.

used to ensure order:

 

reordered.

 

 

scoreboard bits to stall issue of

 

 

 

 

reader; HW_RET_STALL to

 

 

 

 

stall reader; double write plus

 

 

 

 

buffer blocks to force retire and

 

 

 

 

allow for propagation delay.

 

 

 

 

 

Implicit

No IPRs in this

The hardware struc-

IPR-specific PALcode

No IPRs in this class.

Writer

class.

ture of implicitly

restrictions are

 

 

 

written IPRs handles

required for this case.

 

 

 

this case.

An interlock mecha-

 

 

 

 

nism must be placed

 

 

 

 

between the explicit

 

 

 

 

reader and the implicit

 

 

 

 

writer (a read transac-

 

 

 

 

tion).

 

 

 

 

 

 

Explicit

Read transac-

If the reader is in the

Read transactions can

Scoreboard bits stall issue of

Reader

tions can be

PALcode routine

be reordered.

reader until writer is retired.

 

reordered.

invoked by the

 

 

 

 

exception associated

 

 

 

 

with the writer, then

 

 

 

 

ordering is guaran-

 

 

 

 

teed.

 

 

 

 

 

 

 

Alpha 21264/EV67 Hardware Reference Manual

Privileged Architecture Library Code 6–9

Page 193
Image 193
Compaq 21264, EV67 specifications IPR Access Ordering, Paired Instruction Fetch Order