04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Compiler-specific Features<br />

Table 4-16 (continued)<br />

Intrinsic<br />

Summary description<br />

Returns<br />

Byte lanes<br />

Operands<br />

Side-effects<br />

__uadd8 4x8-bit unsigned addition uint8x4 uint8x4,<br />

uint8x4<br />

APSR.GE bits<br />

__uasx<br />

Exchange halfwords of second operand, add high<br />

halfwords and subtract low halfwords<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

APSR.GE bits<br />

__uhadd16 2x16-bit unsigned addition, halving the results uint16x2 uint16x2,<br />

uint16x2<br />

__uhadd8 4x8-bit unsigned addition, halving the results uint8x4 uint8x4,<br />

uint8x4<br />

None<br />

None<br />

__uhasx<br />

Exchange halfwords of second operand, add high<br />

halfwords and subtract low halfwords, halving the results<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

None<br />

__uhsax<br />

Exchange halfwords of second operand, subtract high<br />

halfwords and add low halfwords, halving the results<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

None<br />

__uhsub16 2x16-bit unsigned subtraction, halving the results uint16x2 uint16x2,<br />

uint16x2<br />

None<br />

__uhsub8 4x8-bit unsigned subtraction, halving the results uint8x4 uint8x4 None<br />

__uqadd16 2x16-bit unsigned addition, saturating to range 0 ≤ x ≤ 2 16<br />

- 1<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

None<br />

__uqadd8 4x8-bit unsigned addition, saturating to range 0 ≤ x ≤ 2 8 - 1 uint8x4 uint8x4,<br />

uint8x4<br />

None<br />

__uqasx<br />

Exchange halfwords of second operand, perform<br />

saturating unsigned addition on high halfwords and<br />

saturating unsigned subtraction on low halfwords<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

None<br />

__uqsax<br />

Exchange halfwords of second operand, perform<br />

saturating unsigned subtraction on high halfwords and<br />

saturating unsigned addition on low halfwords<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

None<br />

__uqsub16<br />

2x16-bit unsigned subtraction, saturating to range 0 ≤ x ≤<br />

2 16 - 1<br />

uint16x2<br />

uint16x2,<br />

uint16x2<br />

None<br />

__uqsub8 4x8-bit unsigned subtraction, saturating to range 0 ≤ x ≤ 2 8<br />

- 1<br />

uint8x4<br />

uint8x4,<br />

uint8x4<br />

None<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 4-115<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!