Volume 4: Base IA-32 Instruction Reference
4:171
FSQRT—Square Root
Description
Calculates the square root of the source value in the ST(0) register and stores the
result in ST(0).
The following table shows the results obtained when taking the square root of various
classes of numbers, assuming that neither overflow nor underflow occurs.
Notes:
Fmeans finite-real number.
*indicates floating-point invalid-arithmetic-operand (#IA) exception.
Operation
ST(0)
SquareRoot(ST(0));
FPU Flags Affected
C1
Set to 0 if stack underflow occurred.
Indicates rounding direction if inexact-result exception (#P) is
generated: 0 = not roundup; 1 = roundup.
C0, C2, C3
Undefined.
Floating-point Exceptions
#IS
Stack underflow occurred.
#IA
Source operand is an SNaN value or unsupported format.
Source operand is a negative value (except for
0).
#D
Source operand is a denormal value.
#P
Value cannot be represented exactly in destination format.
Opcode
Instruction
Description
D9 FA
FSQRT
Calculates square root of ST(0) and stores the result in ST(0)
SRC (ST(0))
DEST (ST(0))
*
F
*
0
0
0
0
+F
+F
+
+
NaN
NaN
Summary of Contents for ITANIUM ARCHITECTURE
Page 1: ......
Page 7: ...402 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 199: ...4 192 Volume 4 Base IA 32 Instruction Reference FWAIT Wait See entry for WAIT ...
Page 352: ...Volume 4 Base IA 32 Instruction Reference 4 345 ROL ROR Rotate See entry for RCL RCR ROL ROR ...
Page 589: ...4 582 Volume 4 IA 32 SSE Instruction Reference ...
Page 590: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index ...
Page 591: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 603: ...INDEX Index 12 Index for Volumes 1 2 3 and 4 ...
Page 604: ......