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

VSHRN.I , , #<br />

where:<br />

Instruction Details<br />

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

unconditional.<br />

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

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

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

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

, The destination vector, <strong>and</strong> the oper<strong>and</strong> vector.<br />

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

is encoded.<br />

Operation<br />

if ConditionPassed() then<br />

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

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

result = LSR(Elem[Q[m>>1],e,2*esize], shift_amount);<br />

Elem[D[d],e,esize] = result;<br />

Exceptions<br />

Undefined Instruction.<br />

Pseudo-instructions<br />

VSHRN.I , , #0 is a synonym for VMOVN.I , <br />

For details see VMOVN on page A8-656.<br />

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

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

Saved successfully!

Ooh no, something went wrong!