Encoding:

COP1

010001

fmt

10100

0

00000

fs

fd

CVT.PS.PW

100110

6

5

5

5

5

6

Format:

CVT.PS.PW fd,fs

MIPS-3D

Floating Point Convert Paired Word to Paired Single

Purpose:

Floating Point Convert Paired Word to Paired Single

To convert a pair of 32-bit fixed point words to FP paired-single value

Description:

FPR[fd] = (convert_and_round(FPR[fs]63..32) || convert_and_round(FPR[f]s31..0)

The value in FPR fs, in format PW, is converted to a value in paired-single floating point format and rounded according to the current rounding mode in FCSR. The result is placed in FPR fd.

Restrictions:

The fields fs and fd must specify valid FPRs-fs for type PW and fd for type PS. If they are not valid,the resultis

UNPREDICTABLE. The operand in register fs must be a value in format type PW; if it is not, the result is UNPREDICTABLE and the value in the operand FPR becomes UNPREDICTABLE.

The result of this instruction is UNPREDICTABLE if the processor is executing in 16 FP registers mode.

Operation:

StoreFPR(fd, PS,
                ConvertFmt(ValueFPR(fs, PW)63..32, W, S) ||
                ConvertFmt(ValueFPR(fs, PW)31..0, W, S)
      )

Exceptions:

Coprocessor Unusable, Reserved Instruction

Floating Point Exceptions:

Unimplemented Operation