14.06.2015 Views

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Version</strong> <strong>2.03</strong><br />

<br />

<br />

Load or Store instruction that causes an atomic<br />

access<br />

If any portion of the storage operand has been<br />

accessed, the instruction completes before the<br />

interrupt occurs if any of the following exceptions is<br />

pending.<br />

External, Decrementer, Critical Input, Machine<br />

Check, Fixed-Interval Timer, Watchdog Timer,<br />

Debug, or Imprecise mode Floating-Point or<br />

Auxiliary Processor Enabled<br />

Load or Store instruction that causes an Alignment<br />

exception, a Data TLB Error exception, or that<br />

causes a Data Storage exception.<br />

The portion of the storage operand that is in Caching<br />

Inhibited and Guarded storage is not accessed.<br />

4.8.1.1 Out-of-Order Accesses to<br />

Guarded Storage<br />

In general, Guarded storage is not accessed out-oforder.<br />

The only exceptions to this rule are the following.<br />

Load Instruction<br />

If a copy of any byte of the storage operand is in a<br />

cache then that byte may be accessed in the cache or<br />

in main storage.<br />

4.8.2 User-Definable<br />

User-definable storage control attributes control userdefinable<br />

and implementation-dependent behavior of<br />

the storage system. These bits are both implementation-dependent<br />

and system-dependent in their effect.<br />

They may be used in any combination and also in combination<br />

with the other storage attribute bits.<br />

4.8.3 Storage Control Bits<br />

Storage control attributes are specified on a per-page<br />

basis. These attributes are specified in storage control<br />

bits in the TLB entries. The interpretation of their values<br />

is given in Figure 11.<br />

Bit<br />

W 1<br />

I<br />

M 2<br />

G<br />

E 3<br />

Storage Control Attribute<br />

0 - not Write Through Required<br />

1 - Write Through Required<br />

0 - not Caching Inhibited<br />

1 - Caching Inhibited<br />

0 - not Memory Coherence Required<br />

1 - Memory Coherence Required<br />

0 - not Guarded<br />

1 - Guarded<br />

0 - Big-Endian<br />

1 - Little-Endian<br />

User-Definable<br />

U0-U3 4<br />

VLE 5 0 - non Variable Length Encoding (VLE).<br />

1 - VLE<br />

1 Support for the 1 value of the W bit is optional.<br />

Implementations that do not support the 1 value<br />

treat the bit as reserved and assume its value to<br />

be 0.<br />

2 Support of the 1 value is optional for implementations<br />

that do not support multiprocessing, implementations<br />

that do not support this storage<br />

attribute assume the value of the bit to be 0, and<br />

setting M=1 in a TLB entry will have no effect.<br />

3 [Category: Embedded.Little-Endian]<br />

4 Support for these attributes is optional.<br />

5 [Category: VLE]<br />

Figure 11. Storage control bits<br />

In Section 4.8.3.1 and 4.8.3.2, “access” includes<br />

accesses that are performed out-of-order.<br />

Programming Note<br />

In a uniprocessor system in which only the processor<br />

has caches, correct coherent execution does<br />

not require the processor to access storage as<br />

Memory Coherence Required, and accessing storage<br />

as not Memory Coherence Required may give<br />

better performance.<br />

4.8.3.1 Storage Control Bit Restrictions<br />

All combinations of W, I, M, G, and E values are permitted<br />

except those for which both W and I are 1.<br />

Programming Note<br />

If an application program requests both the Write<br />

Through Required and the Caching Inhibited<br />

attributes for a given storage location, the operating<br />

system should set the I bit to 1 and the W bit to 0.<br />

At any given time, the value of the I bit must be the<br />

same for all accesses to a given real page.<br />

530<br />

<strong>Power</strong> ISA -- Book III-E

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

Saved successfully!

Ooh no, something went wrong!