MicroBlaze Processor Reference Guide
195
UG081 (v14.7)
Instructions
Table 5-2:
Floating Point Comparison Operation
Comparison Type
Operand Relationship
Description
OpSel
(rB) > (rA)
(rB) < (rA)
(rB) = (rA)
isSigNaN(rA) or
isSigNaN(rB)
isQuietNaN(rA) or
isQuietNaN(rB)
Unordered
000
(rD)
←
0
(rD)
←
0
(rD)
←
0
(rD)
←
1
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
1
Less-than
001
(rD)
←
0
(rD)
←
1
(rD)
←
0
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
Equal
010
(rD)
←
0
(rD)
←
0
(rD)
←
1
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
0
Less-or-equal
011
(rD)
←
0
(rD)
←
1
(rD)
←
1
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
Greater-than
100
(rD)
←
1
(rD)
←
0
(rD)
←
0
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
Not-equal
101
(rD)
←
1
(rD)
←
1
(rD)
←
0
(rD)
←
1
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
1
Greater-or-equal
110
(rD)
←
1
(rD)
←
0
(rD)
←
1
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110
(rD)
←
0
FSR[IO]
← 1
ESR[EC]
←
00110