xsxsigqp

VSX Scalar Extract Significand Quad-Precision

xsxsigqp VRT, VRA

Extracts the significand of a quad-precision floating-point number.

Details

Extracts the significand (mantissa) field from a quad-precision (128-bit) floating-point value in the source VSX register and places the extracted significand into the target VSX register. The result preserves the sign of the original significand and right-justifies it within a 64-bit field. The instruction does not modify condition registers or exception flags.

Pseudocode Operation

significand ← extract_significand(VRA[0:127])
VRT[0:127] ← sign_extend_to_128bit(significand)

Programming Note

When Rc=1, CR1 is set from the FPSCR[FX, FEX, VX, OX] bits immediately after the operation completes.

Example

xsxsigqp v1, v2

Encoding

Binary Layout
111111
0
VRT
6
10010
11
VRA
16
11001
21
00100
26
Rc
 
Format X-form
Opcode 0xFC120648
Extension Floating-Point

Operands

  • VRT
    Target Vector Register
  • VRA
    Source Vector Register