SPA 5.0:
{@{!}Pg}
FCMP{.cmp}{.FTZ}
Rd,Ra,Sb,Sc
{&req_6}
{?sched}
;
.cmp: { .F, .LT, .EQ, .LE, .GT*, .NE, .GE, .NUM, FP32 numeric comparisons
.NAN, .LTU, .EQU, .LEU, .GTU, .NEU, .GEU, .T } FP32 numeric or Unordered comparisons
.FTZ: Denorm Sc value is flushed to sign preserving 0.0.
The following Sb,Sc combinations are allowed:
Sb(register), Sc(register)
Sb(constant with immediate address), Sc(register)
Sb(#Imm20<<12), Sc(register)
Sb(register), Sc(constant with immediate address)
Compare Sc with 0.0 using the specified FP32 comparison operation. Write Ra into destination if the comparison is true, or Sb if the comparison yields false.
In the comparison, -0.0 is equal to +0.0. This rule is unrelated to .FTZ.
FCMP R0,R1,R2,R4;