2 %verify "basic lt, gt, eq */
4 %verify "right arg NaN"
6 * Compare two floating-point values. Puts 0, 1, or -1 into the
7 * destination register based on the results of the comparison.
24 /* op vAA, vBB, vCC */
25 flds s0, [r0] @ d0<- vBB
26 flds s1, [r1] @ d1<- vCC
27 fcmps s0, s1 @ compare (vBB, vCC)
28 mvn r0, #0 @ r0<- -1 (default)
29 fmstat @ export status flags
30 movgt r0, #1 @ (greater than) r0<- 1
31 moveq r0, #0 @ (equal) r0<- 0