dctqpq

Decimal Convert To Quad-Precision DFP

dctqpq vD, FRB

Converts DFP Long (64-bit) to DFP Quad (128-bit).

Details

The dctqpq instruction converts a decimal floating-point (DFP) operand from long format to extended format. The result is placed into the target register FRTp, preserving the sign and exponent of the source operand in FRAp.

Pseudocode Operation

FRTp ← ConvertToExtendedFormat(FRAp)

Programming Note

The dctqpq instruction is used to convert a DFP number from long format to extended format. Ensure that the source register (FRAp) contains a valid DFP value in long format, and the target register (FRTp) is properly aligned for storing an extended format DFP number. This operation does not alter the FPSCR register.

Example

dctqpq vd, f3

Encoding

Binary Layout
63
0
vD
6
/
11
FRB
16
258
21
/
31
 
Format X-form
Opcode 0xFC000204
Extension Decimal Floating-Point
Registers Altered FPSCR

Operands

  • vD
    Target Quad
  • FRB
    Source Long