Commit Graph

78 Commits

Author SHA1 Message Date
fvdl d191029b13 2 more bitnumber mistakes fixed while removing sahf. 2001-06-25 16:47:05 +00:00
fvdl c5b64cb062 Oops, when I replaced sahf with a btw, I made it test the wrong bit
(2 vs. 10).
2001-06-25 16:44:34 +00:00
fvdl 120d96874f %rbp -> %rsp in 2 cases. 2001-06-19 17:49:36 +00:00
fvdl 8ecba6c681 Modify the i387 code so that it can be shared between the i386 port
and the x86_64 port. XXX some files should be distinct.
2001-06-19 00:26:29 +00:00
kleink 26c512aade Make these idempotent as far as the FPU register stack is concerned. 2000-09-26 07:28:23 +00:00
matt 94827a09a3 Well, duh! Use indexed addressing since that's why it's there. That way
the code is PIC.  (mmm.  linker warning's about non-PIC code).
2000-07-14 22:26:15 +00:00
matt 584a2f53ee Clean up & prepare for ELF. Don't define isnan since it's in libc. Add a
powf (really a wrapper for pow).
2000-07-14 04:50:58 +00:00
is 7c1da7b0c9 Regenerate, after changing internal label used for linkage to the wrapper
scripts.
2000-05-16 19:07:35 +00:00
is 9ba8ffc293 Change libm-68060 internal, but file external labels (used for linkage between
wrapper functions and the Motorola code) to guarantee consistent protection
of the user namespace.
2000-05-16 19:05:37 +00:00
is 287de693da Regenerated files after this change:
Move each wrapper function to its own source file, such that redefining one
function doesn't give link errors when another one is pulled in from the
library.
Problem discovered by Klaus Klein.
2000-05-12 20:11:11 +00:00
is 183dfce153 Move each wrapper function to its own source file, such that redefining one
function doesn't give link errors when another one is pulled in from the
library.
Problem discovered by Klaus Klein.
2000-05-12 20:08:04 +00:00
is 97df1401a1 Move original Motorola files to the "dist" subdirectory, in response
to PR 9626 by Kris Shannon.
2000-04-14 20:24:29 +00:00
kleink 0c766839fc G/c label orphaned since rev. 1.6. 2000-01-31 18:28:49 +00:00
christos e133a9e685 Makefile and shared library for libm387. 1999-12-13 09:36:29 +00:00
thorpej bebf6897b4 Add register prefixes. 1999-11-10 16:45:33 +00:00
thorpej 627a762f23 Regen; add register prefixes. 1999-11-10 16:34:56 +00:00
thorpej c958703527 Add register prefixes. 1999-11-10 16:32:45 +00:00
is 7afc17a12a Use arch/m68k copies of the common functions even for mc68881 hardware. 1999-08-22 18:28:37 +00:00
is 2dc451b448 *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
is 3f2d2fc0e5 Copied from mc68881/s_rint.S,v 1999-08-21 21:26:40 +00:00
is 455f7bb90c Copied from mc68881/s_floor.S,v 1999-08-21 21:26:28 +00:00
is c78325ae61 Copied from mc68881/s_ceil.S,v 1999-08-21 21:26:16 +00:00
is c81875b78b Copied from mc68881/s_finite.S,v 1999-08-21 21:25:40 +00:00
is 11d34cdce5 Copied from mc68881/s_copysign.S,v 1999-08-21 21:24:46 +00:00
is 9e6d62796f wrap lines in Makefile.list 1999-08-21 21:04:17 +00:00
is a33bf8cb4b Clarify instructions 1999-08-21 20:50:21 +00:00
is 9f72d71dcd Same reason as for ldexp.S: most applications don't scale 0.0. 1999-08-21 17:29:37 +00:00
is 8c65b3f672 Motorola floating point library support package based architecture dependent
code for libm - generated files. Currently, easy functions only.
1999-08-19 21:43:52 +00:00
is 00c9560d0c Motorola 68060 floating point library support package based architecture
dependent code for libm. Currently, easy functions only.
1999-08-19 21:41:35 +00:00
kleink 58bbec2442 Make these SVR4 ABI ready. 1999-08-15 18:45:18 +00:00
simonb 42724dd4d2 More trailing white space. 1999-07-02 15:37:33 +00:00
kristerw 14e0e5307d The scalb* functions left data on the floting point register stack.
Remove it before leaving the function.

The solution is taken from OpenBSD.
1999-01-02 05:15:40 +00:00
matt 5bf0199231 Fix PIC code and fix problem with obj dirs. 1998-11-11 15:26:14 +00:00
matt 93bbcb05b4 Add .type _sym,@foo for shared libraries 1998-10-31 02:06:01 +00:00
is 7c9cfab805 Same reason as for ldexp.S: most applications don't scale 0.0. 1997-10-10 10:40:40 +00:00
jtc 990a11b9c6 Fix files using old TNF copyright notice 1997-07-30 23:53:32 +00:00
thorpej caae5cd93d Use <machine/asm.h> 1996-08-13 17:00:28 +00:00
thorpej 688ff1ddf9 Correct think-o; this is an assembler source file (and the Makefile
expected as such).
1996-07-08 03:27:25 +00:00
jtc ca7561ba59 Fix typo 1996-07-06 00:15:45 +00:00
jtc a5e2dfa95f use one less fp stack slot 1996-07-03 17:31:28 +00:00
jtc 0ab3a0b137 It's necessary to use 64 bit precision to avoid errors in the least
significant bit(s) (for some operands).
1996-07-03 17:27:34 +00:00
jtc 88420f2e4d this simple adaptation exp() does not work 1996-07-03 17:20:16 +00:00
jtc 5f9accdf53 Assembly versions of expf(), logf(),log10f(), scalbf(), expm1() and expm1f(). 1996-07-03 16:50:20 +00:00
jtc 991d9c139a we don't need to branch 1996-06-26 14:44:05 +00:00
jtc 3a2de776bf add m68881 specific fmod() 1996-06-26 14:36:14 +00:00
jtc c13e010e3c Alpha versions of copysign() and copysignf() 1996-06-26 07:29:59 +00:00
jtc 5743dc5d7a Fix from Bruce Evans. Commited to FreeBSD earlier this month, but was
never forwarded to me :-(.

> Clean up the FP stack before returning.  The i387 exp() leaked an FP
> register on its first call.  Subsequent calls reused the register so
> the leak didn't accumulate.
1996-06-25 02:07:09 +00:00
jtc 84fc678011 Use setne instead of setnel, new versions of gas balk at the bad mnemonic.
Wrong mask was used in s_finitef.S.
1996-06-04 18:00:34 +00:00
pk 26646c7969 Setup stack-frame correctly (same as s_ilogb.S). 1995-10-22 20:32:43 +00:00
jtc e2143cf975 Fix from Jochen Pohl, i387 version of ilogb didn't set up the stack
frame correctly (PR #1590).
1995-10-12 15:53:09 +00:00