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

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

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

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

Store Vector by External Process ID<br />

Indexed<br />

X-form<br />

stvepx VRS,RA,RB (LRU = 0)<br />

31 VRS RA RB 807 0<br />

0 6 11 16 21 31<br />

if RA = 0 then b 0<br />

else<br />

b (RA)<br />

EA b + (RB)<br />

MEM(EA & 0xFFFF_FFFF_FFFF_FFF0, 16) (VRS)<br />

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

The contents of VRS are stored into the quadword in<br />

storage addressed by the result of EA ANDed with<br />

0xFFFF_FFFF_FFFF_FFF0.<br />

For stvepx, the normal translation mechanism is not<br />

used. The contents of the EPSC register are used to<br />

provide the context in which translation occurs. The following<br />

substitutions are made for just the translation<br />

and access control process:<br />

EPSC EPR is used in place of MSR PR<br />

EPSC EAS is used in place of MSR DS<br />

EPSC EPID is used in place of all Process ID registers<br />

This instruction is privileged.<br />

An attempt to execute stvepx while MSR SPV =0 will<br />

cause a Vector Unavailable interrupt.<br />

Corequisite Categories:<br />

Vector<br />

Special Registers Altered:<br />

None<br />

Programming Note<br />

This instruction behaves identically to a stvx<br />

instruction except for using the EPSC register to<br />

provide the translation context.<br />

Store Vector by External Process ID<br />

Indexed LRU<br />

X-form<br />

stvepxl VRS,RA,RB (LRU = 1)<br />

31 VRS RA RB 775 0<br />

0 6 11 16 21 31<br />

if RA = 0 then b 0<br />

else<br />

b (RA)<br />

EA b + (RB)<br />

MEM(EA & 0xFFFF_FFFF_FFFF_FFF0, 16) (VRS)<br />

mark_as_not_likely_to_be_needed_again_anytime_soon<br />

(EA)<br />

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

The contents of VRS are stored into the quadword in<br />

storage addressed by the result of EA ANDed with<br />

0xFFFF_FFFF_FFFF_FFF0.<br />

The stvepxl instruction provides a hint that the quadword<br />

addressed by EA will probably not be needed<br />

again by the program in the near future.<br />

For stvepxl, the normal translation mechanism is not<br />

used. The contents of the EPSC register are used to<br />

provide the context in which translation occurs. The following<br />

substitutions are made for just the translation<br />

and access control process:<br />

EPSC EPR is used in place of MSR PR<br />

EPSC EAS is used in place of MSR DS<br />

EPSC EPID is used in place of all Process ID registers<br />

This instruction is privileged.<br />

An attempt to execute stvepxl while MSR SPV =0 will<br />

cause a Vector Unavailable interrupt.<br />

Corequisite Categories:<br />

Vector<br />

Special Registers Altered:<br />

None<br />

Programming Note<br />

See the Programming Notes for the lvxl instruction<br />

in Section 5.7.2 of Book I.<br />

Programming Note<br />

This instruction behaves identically to a stvxl<br />

instruction except for using the EPSC register to<br />

provide the translation context.<br />

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