You copied the Doc URL to your clipboard.

NEG (scalar)

Negate (vector).

Syntax

NEG Vd, Vn

Where:

V
Is a width specifier, D.
d
Is the number of the SIMD and FP destination register.
n
Is the number of the SIMD and FP source register.

Usage

Negate (vector). This instruction reads each vector element from the source SIMD and FP register, negates each value, puts the result into a vector, and writes the vector to the destination SIMD and FP register.

Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.

Was this page helpful? Yes No