xsnegqp
VSX Scalar Negate Quad-Precision
xsnegqp vD, vB
Negates a 128-bit Quad float.
Details
The VSX Scalar Negate Quad-Precision instruction negates the quad-precision floating-point value in a source register and stores the result in a destination register. The operation is performed on the entire quad-precision value, which spans two doublewords.
Programming Note
This instruction is used to negate a quad-precision floating-point value. Ensure that the VSX (Vector Scalar Extensions) are enabled by checking and setting the appropriate bit in the MSR register. The operation affects two consecutive doublewords, so ensure proper alignment of the source register.
Example
xsnegqp vd, vb
Encoding
Binary Layout
63
0
vD
6
0
11
vB
16
804
21
/
31
Operands
-
vD
Target -
vB
Source