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

Vector Multiply Odd Signed Byte VX-form Vector Multiply Odd Signed Halfword<br />

VX-form<br />

vmulosb VRT,VRA,VRB<br />

vmulosh VRT,VRA,VRB<br />

4 VRT VRA VRB 264<br />

0 6 11 16 21 31 4 VRT VRA VRB 328<br />

do i=0 to 127 by 16<br />

prod EXTS((VRA) i+8:i+15 ) × si EXTS((VRB) i+8:i+15 )<br />

VRT i:i+15 Chop( prod, 16 )<br />

For each vector element i from 0 to 7, do the following.<br />

Signed-integer byte element i×2+1 in VRA is multiplied<br />

by signed-integer byte element i×2+1 in VRB.<br />

The low-order 16 bits of the product are placed into<br />

halfword element i VRT.<br />

Special Registers Altered:<br />

None<br />

0 6 11 16 21 31<br />

do i=0 to 127 by 32<br />

prod EXTS((VRA) i+16:i+31 ) × si EXTS((VRB) i+16:i+31 )<br />

VRT i:i+31 Chop( prod, 32 )<br />

For each vector element i from 0 to 3, do the following.<br />

Signed-integer halfword element i×2+1 in VRA is<br />

multiplied by signed-integer halfword element<br />

i×2+1 in VRB. The low-order 32 bits of the product<br />

are placed into halfword element i VRT.<br />

Special Registers Altered:<br />

None<br />

Vector Multiply Odd Unsigned Byte<br />

VX-form<br />

Vector Multiply Odd Unsigned Halfword<br />

VX-form<br />

vmuloub<br />

VRT,VRA,VRB<br />

vmulouh<br />

VRT,VRA,VRB<br />

4 VRT VRA VRB 8<br />

0 6 11 16 21 31<br />

do i=0 to 127 by 16<br />

prod EXTZ((VRA) i+8:i+15 ) × ui EXTZ((VRB) i+8:i+15 )<br />

VRT i:i+15 Chop( prod, 16 )<br />

For each vector element i from 0 to 7, do the following.<br />

Unsigned-integer byte element i×2+1 in VRA is<br />

multiplied by unsigned-integer byte element i×2+1<br />

in VRB. The low-order 16 bits of the product are<br />

placed into halfword element i VRT.<br />

Special Registers Altered:<br />

None<br />

4 VRT VRA VRB 72<br />

0 6 11 16 21 31<br />

do i=0 to 127 by 32<br />

prod EXTZ((VRA) i+16:i+31 )× ui EXTZ((VRB) i+16:i+31 )<br />

VRT i:i+31 Chop( prod, 32 )<br />

For each vector element i from 0 to 3, do the following.<br />

Unsigned-integer halfword element i×2+1 in VRA<br />

is multiplied by unsigned-integer halfword element<br />

i×2+1 in VRB. The low-order 32 bits of the product<br />

are placed into halfword element i VRT.<br />

Special Registers Altered:<br />

None<br />

162<br />

<strong>Power</strong> ISA -- Book I

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

Saved successfully!

Ooh no, something went wrong!