diff options
| author | jtc <jtc@NetBSD.org> | 1994-03-12 01:09:29 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1994-03-12 01:09:29 +0000 |
| commit | c9566fe5727ffefb0be87fc347bc3abe6c72d6c8 (patch) | |
| tree | ca7fb5d0d8220c2d2e74c018e7107100ed6a1e64 /lib | |
| parent | 119f3ea688e9e62451ae665c02840410cccde298 (diff) | |
Replace code that was "truncated" when it was converted from old
math library.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libm/arch/mc68881/s_logb.S | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libm/arch/mc68881/s_logb.S b/lib/libm/arch/mc68881/s_logb.S index eeccbf5047d..12472060119 100644 --- a/lib/libm/arch/mc68881/s_logb.S +++ b/lib/libm/arch/mc68881/s_logb.S @@ -40,7 +40,7 @@ ;_sccsid: ;.asciz "from: @(#)support.s 5.2 (Berkeley) 5/17/90" _rcsid: -.asciz "$Id: s_logb.S,v 1.1 1994/02/14 21:55:25 jtc Exp $" +.asciz "$Id: s_logb.S,v 1.2 1994/03/12 01:09:29 jtc Exp $" | logb(x) @@ -63,4 +63,9 @@ Lfinite: jra Ldone Lnonz: fgetexpx fp0 | get exponent - jra Ldone +Ldone: + fmoved fp0,sp@- + movel sp@+,d0 + movel sp@+,d1 + rts + |
