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 />

Instruction Cache Block Touch and Lock<br />

Set<br />

X-form<br />

Instruction Cache Block Lock Clear<br />

X-form<br />

icbtls<br />

CT,RA,RB<br />

icblc<br />

CT,RA,RB<br />

31 / CT RA RB 486 /<br />

0 6 7 11 16 21 31<br />

31 / CT RA RB 230 /<br />

0 6 7 11 16 21 31<br />

Let the effective address (EA) be the sum (RA|0)+(RB).<br />

The icbtls instruction causes the block containing the<br />

byte addressed by EA to be loaded and locked into the<br />

instruction cache specified by CT, and provides a hint<br />

that the program will probably soon execute code from<br />

the block. See Section 3.2 of Book II for a definition of<br />

the CT field.<br />

If the block already exists in the cache, the block is<br />

locked without refetching from memory. If the block is in<br />

storage that is Caching Inhibited, no cache operation is<br />

performed.<br />

This instruction treated as a Load (see Section 3.2),<br />

except that the system instruction storage error handler<br />

is not invoked.<br />

An unable-to-lock condition may occur (see Section<br />

4.9.2.2.2), or an overlocking condition may occur (see<br />

Section 4.9.2.2.1).<br />

This instruction is privileged unless the Embedded<br />

Cache Locking.User Mode category is supported. If the<br />

Embedded Cache Locking.User Mode category is supported,<br />

this instruction is privileged only if MSR UCLE =0.<br />

Special registers altered:<br />

None<br />

Let the effective address (EA) be the sum (RA|0)+(RB).<br />

The block containing the byte addressed by EA in the<br />

instruction cache specified by the CT field is unlocked.<br />

The instruction is treated as a Load.<br />

An unable-to-unlock condition may occur (see Section<br />

4.9.2.2.2). If the block containing the byte addressed by<br />

EA is not locked in the specified cache, no cache operation<br />

is performed.<br />

This instruction is privileged unless the Embedded<br />

Cache Locking.User Mode category is supported. If the<br />

Embedded Cache Locking.User Mode category is supported,<br />

this instruction is privileged only if MSR UCLE =0.<br />

Special registers altered:<br />

None<br />

Data Cache Block Lock Clear<br />

dcblc<br />

CT,RA,RB<br />

X-form<br />

31 / CT RA RB 390 /<br />

0 6 7 11 16 21 31<br />

Let the effective address (EA) be the sum (RA|0)+(RB).<br />

The block containing the byte addressed by EA in the<br />

data cache specified by the CT field is unlocked.<br />

The instruction is treated as a Load.<br />

An unable-to-unlock condition may occur (see Section<br />

4.9.2.2.2). If the block containing the byte addressed by<br />

EA is not locked in the specified cache, no cache operation<br />

is performed.<br />

This instruction is privileged unless the Embedded<br />

Cache Locking.User Mode category is supported. If the<br />

Embedded Cache Locking.User Mode category is supported,<br />

this instruction is privileged only if MSR UCLE =0.<br />

Special registers altered:<br />

None<br />

Programming Note<br />

The dcblc and icblc instructions are used to<br />

remove locks previously set by the corresponding<br />

lock set instructions.<br />

536<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!