Sun Microsystems UltraSPARC-I User Manual page 233

Table of Contents

Advertisement

UltraSPARC User's Manual
Suggested Assembly Language Syntax
fcmple32
fcmpne16
fcmpne32
fcmpeq16
fcmpeq32
Description:
Four 16-bit or two 32-bit fixed-point values in rs1 and rs2 are compared. The 4-bit
or 2-bit results are stored in the corresponding least significant bits of the integer
rd register. Bit zero of rd corresponds to the least significant 16-bit or 32-bit graph-
ics compare result.
For FCMPGT, each bit in the result is set if the corresponding value in rs1 is
greater than the value in rs2. Less-than comparisons are made by swapping the
operands.
For FCMPLE, each bit in the result is set if the corresponding value in rs1 is less
than or equal to the value in rs2. Greater-than-or-equal comparisons are made by
swapping the operands.
For FCMPEQ, each bit in the result is set if the corresponding value in rs1 is equal
to the value in rs2.
For FCMPNE, each bit in the result is set if the corresponding value in rs1 is not
equal to the value in rs2.
Traps:
fp_disabled
Sun Microelectronics
218
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
freg
, freg
, reg
rs1
rs2
r
d
freg
, freg
, reg
rs1
rs2
r
d
freg
, freg
, reg
rs1
rs2
r
d
freg
, freg
, reg
rs1
rs2
r
d
freg
, freg
, reg
rs1
rs2
r
d

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UltraSPARC-I and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ultrasparc-ii

Table of Contents