xvnabsdp
Vector Negative Absolute Double-Precision
xvnabsdp XT,XB
Computes the negative absolute value of each double-precision floating-point element in a vector.
Details
For xvnabsdp, the negative absolute value of each double-precision floating-point element in VSR[XB] is computed and stored in VSR[XT].
Pseudocode Operation
Programming Note
This instruction computes the negative absolute value of each double-precision floating-point element in a vector. Ensure that VSX (Vector Scalar Extensions) is enabled by checking and setting the appropriate bit in the Machine State Register (MSR). The operation processes two elements per vector register, so ensure proper alignment if manipulating individual elements.
Example
xvnabsdp vs1, vs3
Encoding
Binary Layout
T
0
B
11
BX
16
TX
21
Operands
-
XT
Target Vector Register -
XB
Source Vector Register