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.
This commit is contained in:
is 1997-10-09 20:06:18 +00:00
parent e76394c0c6
commit 31c3c1a2b3
1 changed files with 2 additions and 4 deletions

View File

@ -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