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.

Encoding

Binary Layout
60
0:5
XT
6:10
0
11:15
XB
16:20
27
21:31
 
Format XX2-form
Opcode 0xF000056C
Extension VSX

Operands

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

Example

xsxexpdp vs1, vs3

Registers Altered

MSR

Related

More in VSX

Reference

Description

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.

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.