From cb32d73c61e88c3801bfdada41eb92a6e874ab9f Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 8 Dec 1992 17:26:41 +0000 Subject: [PATCH] Fix in fef.s: handles infinity more graceful now --- mach/sparc/libem/fef.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mach/sparc/libem/fef.s b/mach/sparc/libem/fef.s index 64647bc5e..05862cf0c 100644 --- a/mach/sparc/libem/fef.s +++ b/mach/sparc/libem/fef.s @@ -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