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
Operands
-
XT
Target -
XB
Source -
RT
Target General Purpose Register
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
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.