xvnegdp
VSX Vector Negate Double-Precision
Negates the contents of a double-precision floating-point vector register and stores the result in another vector register.
Details
The instruction negates each doubleword element of the source vector register VSR[XB] and stores the results in the target vector register VSR[XT].
Pseudocode Operation
Programming Note
This instruction is used to negate each double-precision floating-point element in a vector. Ensure that the VSX (Vector Scalar Extensions) are enabled by checking and setting the appropriate bit in the MSR register. The operation processes four elements per vector register, so ensure proper alignment of data for optimal performance. This instruction operates at the user privilege level and will raise an exception if VSX is not available.
Example
Encoding
Operands
-
XT
Target -
XB
Source