From 31c3c1a2b34d9412762146e8a3f7099a90c5d763 Mon Sep 17 00:00:00 2001 From: is Date: Thu, 9 Oct 1997 20:06:18 +0000 Subject: [PATCH] Most calls of ldexp() won't be with a first parameter of 0.0. Don't penalize them for a slight optimization of the zero case. --- lib/libc/arch/m68k/gen/ldexp.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libc/arch/m68k/gen/ldexp.S b/lib/libc/arch/m68k/gen/ldexp.S index 2fbaadc8ed0f..dcda08dd7347 100644 --- a/lib/libc/arch/m68k/gen/ldexp.S +++ b/lib/libc/arch/m68k/gen/ldexp.S @@ -1,4 +1,4 @@ -/* $NetBSD: ldexp.S,v 1.4 1997/04/25 00:58:53 thorpej Exp $ */ +/* $NetBSD: ldexp.S,v 1.5 1997/10/09 20:06:18 is Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -43,7 +43,7 @@ #if 0 RCSID("from: @(#)ldexp.s 5.1 (Berkeley) 5/12/90") #else - RCSID("$NetBSD: ldexp.S,v 1.4 1997/04/25 00:58:53 thorpej Exp $") + RCSID("$NetBSD: ldexp.S,v 1.5 1997/10/09 20:06:18 is Exp $") #endif #endif /* LIBC_SCCS and not lint */ @@ -53,9 +53,7 @@ */ ENTRY(ldexp) fmoved sp@(4),fp0 - fbeq Ldone fscalel sp@(12),fp0 -Ldone: fmoved fp0,sp@- movel sp@+,d0 movel sp@+,d1