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

Create successful ePaper yourself

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

Assembler syntax<br />

VSRA. {,} , # Encoded as Q = 1<br />

VSRA. {,} , # 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> VSRA instruction must be<br />

unconditional.<br />

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

S signed, encoded as U = 0<br />

U unsigned, encoded as U = 1.<br />

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

8 Encoded as L = ’0’, imm6 = ’001’. (8– ) is encoded in imm6.<br />

16 Encoded as L = ’0’, imm6 = ’01’. (16 – ) is encoded in imm6.<br />

32 Encoded as L = ’0’, imm6 = ’1’. (32 – ) is encoded in imm6.<br />

64 Encoded as L = ’1’. (64 – ) is encoded in imm6.<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 />

The immediate value, in the range 1 to . See the description of for how <br />

is encoded.<br />

Operation<br />

if ConditionPassed() then<br />

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

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

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

result = Int(Elem[D[m+r],e,esize], unsigned) >> shift_amount;<br />

Elem[D[d+r],e,esize] = Elem[D[d+r],e,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-765

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

Saved successfully!

Ooh no, something went wrong!