Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 Manual page 966

Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3:
Table of Contents

Advertisement

fcmp — Floating-point Compare
(
) fcmp.
Format:
qp
frel
The two source operands are compared for one of twelve relations specified by frel. This
Description:
produces a boolean result which is 1 if the comparison condition is true, and 0
otherwise. This result is written to the two predicate register destinations,
The way the result is written to the destinations is determined by the compare type
specified by fctype. The allowed types are Normal (or none) and unc.
Table 2-26.
fctype
none
unc
0
The mnemonic values for sf are given in
The relations are defined for each of the comparison types in
relations, not all are directly implemented in hardware. Some are actually pseudo-ops.
For these, the assembler simply switches the source operand specifiers and/or switches
the predicate target specifiers and uses an implemented relation.
Table 2-27.
frel
eq
equal
lt
less than
le
less than or equal
gt
greater than
ge
greater than or equal
unord
unordered
neq
not equal
nlt
not less than
nle
not less than or equal
ngt
not greater than
nge
not greater than or equal
ord
ordered
Volume 3: Instruction Reference
.
.
,
=
,
fctype
sf p
p
f
f
1
2
2
3
Floating-point Comparison Types
PR[qp]==0
Result==0,
No Source NaTVals
PR[p
]
PR[p
]
PR[p
1
2
0
0
0
Floating-point Comparison Relations
frel Completer
Relation
Unabbreviated
f
== f
2
f
< f
2
f
<= f
2
f
> f
2
f
>= f
2
f
? f
2
!( f
2
!( f
2
!( f
2
!( f
2
!( f
2
!( f
2
PR[qp]==1
Result==1,
No Source NaTVals
]
PR[p
]
PR[p
]
1
2
1
1
1
1
1
Table 2-23 on page
Pseudo-op of
3
3
3
 f
lt
f
3
2
3
 f
le
f
3
2
3
3
== f
)
eq
3
< f
)
lt
3
<= f
)
le
3
 f
> f
)
lt
f
3
2
3
 f
>= f
)
le
f
3
2
3
? f
)
unord
3
and
p
p
1
One or More
Source NaTVals
PR[p
]
PR[p
]
PR[p
2
1
0
0
0
0
0
0
3:56.
Table
2-27. Of the twelve
Quiet NaN
as Operand
Signals Invalid
No
Yes
Yes
Yes
Yes
No
 p
p
No
1
2
 p
p
Yes
1
2
 p
p
Yes
1
2
 p
p
Yes
1
2
 p
p
Yes
1
2
 p
p
No
1
2
fcmp
F4
.
2
]
2
3:67

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents