Fix in fef.s: handles infinity more graceful now
authorceriel <none@none>
Tue, 8 Dec 1992 17:26:41 +0000 (17:26 +0000)
committerceriel <none@none>
Tue, 8 Dec 1992 17:26:41 +0000 (17:26 +0000)
mach/sparc/libem/fef.s

index 64647bc..05862cf 100644 (file)
@@ -22,6 +22,12 @@ fef8:
        and     %o0,%o2,%o1
        set     16382,%o3
        sub     %o1,%o3,%o1
+       set     1024,%o2
+       cmp     %o1,%o2
+       bl      1f
+       nop
+       mov     %o2,%o1
+1:
        st      %o1,[%l0]
        set     0x8000,%o2
        and     %o0,%o2,%o0