2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: mathffp/SPCmp m68k version. Generates correct 680x0 flags.
9 #include "aros/m68k/asm.h"
13 .globl AROS_SLIB_ENTRY(SPCmp,Mathffp,7)
14 AROS_SLIB_ENTRY(SPCmp,Mathffp,7):
23 /* both negative, invert comparisons */
29 bgt.s .done /* d0 > d1 */
32 blt.s .done /* d0 < d1 */
39 bgt.s .done /* d0 > d1 */
44 movem.l (%sp)+,%d2 /* must be MOVEM! Must not modify flags. */