xsxexpdp

VSX Scalar Extract Exponent Double-Precision

xsxexpdp XT, XB

Extracts the exponent from a double-precision floating-point value in VSR and places it into GPR.

Details

The instruction extracts the exponent field of a double-precision floating-point value located in the specified VSX register and stores it in a general-purpose register.

Pseudocode Operation

if MSR.VSX=0 then VSX_Unavailable()
src ←VSR[32×BX+B].dword[0]
GPR[RT] ←EXTZ64(src.bit[1:11])

Programming Note

This instruction can be used to operate on a single-precision source operand.

Example

xsxexpdp vs1, vs3

Encoding

Binary Layout
60
0
XT
6
0
11
XB
16
27
21
 
Format XX2-form
Opcode 0xF000001B
Extension VSX
Registers Altered MSR

Operands

  • XT
    Target
  • XB
    Source
  • RT
    Target General Purpose Register