Instructions

Table 4-2:Floating Point Comparison Operation

R

Comparison Type

 

 

 

Operand Relationship

 

 

 

 

 

 

 

 

Description

OpSel

(rB) > (rA)

(rB) < (rA)

(rB) = (rA)

isNaN(rA) or isNaN(rB)

 

 

 

 

 

 

 

 

 

 

 

Greater-than

100

(rD)

1

(rD)

0

(rD)

0

(rD)

0

 

 

 

 

 

 

 

 

 

FSR[IO]

1

 

 

 

 

 

 

 

 

ESR[EC]

00110

 

 

 

 

 

 

 

 

 

 

 

Not-equal

101

(rD)

1

(rD)

1

(rD)

0

(rD)

1

 

 

 

 

 

 

 

 

 

 

 

 

Greater-or-equal

110

(rD)

1

(rD)

0

(rD)

1

(rD)

0

 

 

 

 

 

 

 

 

 

FSR[IO]

1

 

 

 

 

 

 

 

 

ESR[EC]

00110

 

 

 

 

 

 

 

 

 

 

 

Registers Altered

rD, unless an FP exception is generated, in which case the register is unchanged

ESR[EC]

FSR[IO,DO]

Latency

1 cycle

Note

These instructions are only available when the MicroBlaze parameter C_USE_FPU is set to 1.

MicroBlaze Processor Reference Guide

www.xilinx.com

105

UG081 (v6.0) June 1, 2006

1-800-255-7778

 

Page 105
Image 105
Xilinx EDK 8.2i manual Esrec FSRIO,DO