05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

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.

Assembler syntax<br />

VPADDL. , Encoded as Q = 1<br />

VPADDL. , Encoded as Q = 0<br />

where:<br />

Instruction Details<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7. An <strong>ARM</strong> VPADDL instruction must be<br />

unconditional.<br />

The data type for the elements of the vectors. It must be one of:<br />

S8 encoded as size = 0b00, op = 0<br />

S16 encoded as size = 0b01, op = 0<br />

S32 encoded as size = 0b10, op = 0<br />

U8 encoded as size = 0b00, op = 1<br />

U16 encoded as size = 0b01, op = 1<br />

U32 encoded as size = 0b10, op = 1.<br />

, The destination vector <strong>and</strong> the oper<strong>and</strong> vector, for a quadword operation.<br />

, The destination vector <strong>and</strong> the oper<strong>and</strong> vector, for a doubleword operation.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); CheckAdvSIMDEnabled();<br />

h = elements/2;<br />

for r = 0 to regs-1<br />

for e = 0 to h-1<br />

op1 = Elem[D[m+r],2*e,esize]; op2 = Elem[D[m+r],2*e+1,esize];<br />

result = Int(op1, unsigned) + Int(op2, unsigned);<br />

Elem[D[d+r],e,2*esize] = result;<br />

Exceptions<br />

Undefined Instruction.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. A8-689

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

Saved successfully!

Ooh no, something went wrong!