You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : FABS (scalar)

FABS (scalar)

Floating-point absolute value.

Syntax

FABS Sd, Sn ; Single-precision

FABS Dd, Dn ; Double-precision

Where:

Sd

Is the 32-bit name of the SIMD and FP destination register.

Sn

Is the 32-bit name of the SIMD and FP source register.

Dd

Is the 64-bit name of the SIMD and FP destination register.

Dn

Is the 64-bit name of the SIMD and FP source register.

Operation

Vd = abs(Vn), where V is either D or S.

Was this page helpful? Yes No