
Volume 3: Instruction Reference
3:143
getf
getf — Get Floating-point Value or Exponent or Significand
Format:
(
qp
) getf.s
r
1
=
f
2
single_form
(
qp
) getf.d
r
1
=
f
2
double_form
(
qp
) getf.exp
r
1
=
f
2
exponent_form
(
qp
) getf.sig
r
1
=
f
2
significand_form
Description:
In the single and double forms, the value in FR
f
2
is converted into a single precision
(single_form) or double precision (double_form) memory representation and placed in
GR
r
1
, as shown in
, respectively. In the
single_form, the most-significant 32 bits of GR
r
1
are set to 0.
In the exponent_form, the exponent field of FR
f
2
is copied to bits 16:0 of GR
r
1
and the
sign bit of the value in FR
f
2
is copied to bit 17 of GR
r
1
. The most-significant 46-bits of
GR
r
1
are set to zero.
In the significand_form, the significand field of the value in FR
f
2
is copied to GR
r
1
For all forms, if FR
f
2
contains a NaTVal, then the NaT bit corresponding to GR
r
1
is set to
1.
Figure 2-23. Function of getf.exp
Figure 2-24. Function of getf.sig
s
significand
exponent
FR
f
2
GR
r
1
0
0
16
18
17
1
46
63
significand
exponent
s
FR
f
2
GR
r
1
0
63
64
Summary of Contents for Itanium 9150M
Page 1: ......
Page 209: ...3 200 Volume 3 Instruction Reference padd Interruptions Illegal Operation fault...
Page 405: ...3 396 Volume 3 Resource and Dependency Semantics...
Page 406: ...3 397 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index...
Page 407: ...3 398 Intel Itanium Architecture Software Developer s Manual Rev 2 3...
Page 419: ...INDEX Index 12 Index for Volumes 1 2 3 and 4...
Page 420: ......