Page 367 - ARM 64 Bit Assembly Language
P. 367
Advanced SIMD instructions 357
Name Effect Description
{sq}neg if sq is present then Copy absolute value of each ele-
Vd[] ← −Vm[] ment of Vm to the corresponding
else element of Vd, optionally saturating
Vd[] ← −Vm[] the result.
end if
fabs Vd[] ← |Vm[]| Copy absolute value of each element
of Vm to the corresponding element
of Vd.
fneg Vd[] ← −Vm[] Copy absolute value of each element
of Vm to the corresponding element
of Vd.
10.6.6.3 Examples
1 abs v1.2s,v6.2s // Get absolute values
2 sqneg v3.16b,v4.16b // Negate and saturate
10.6.7 Get maximum or minimum elements
The following four instructions select the maximum or minimum elements and store the re-
sults in the destination vector:
max Vector integer maximum,
min Vector integer minimum,
fmax Vector floating point maximum,
fmin Vector floating point minimum,
maxp Vector integer pairwise maximum,
minp Vector integer pairwise minimum,
fmaxp Vector floating point pairwise maximum,
fminp Vector floating point pairwise minimum,
fmaxnm Vector floating point maxnum,
fminnm Vector floating point minnum,
fmaxnmp Vector floating point pairwise maxnum, and
fminnmp Vector floating point pairwise minnum.

