Commit Graph

42 Commits

Author SHA1 Message Date
mycroft
2b504929fa Just some minor cleanup. 1999-03-10 08:15:43 +00:00
mycroft
f1c544b6a8 Use ieee.h structs and macros. 1999-03-10 08:14:44 +00:00
is
3fafc185a5 68060 optimization, doesnt hurt others 1999-02-08 22:00:13 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
christos
7c990e0c7b delint 1998-11-14 19:31:01 +00:00
kleink
d541ca6d80 Need internal names for isinf() and isnan(). 1998-10-13 14:43:36 +00:00
thorpej
4359863000 Update for signal changes. 1998-10-05 02:34:18 +00:00
mycroft
982e920022 const poisoning. 1998-07-26 14:13:00 +00:00
thorpej
d5bc168ba9 Use _C_LABEL() to generate C labels. 1998-07-01 06:44:14 +00:00
thorpej
f22bd47b81 Use __sigaltstack14(), not sigaltstack(). 1997-12-05 02:09:49 +00:00
is
eae488f7bb Fix typo, which resulted in always compiling the M68040/M68060-version
of ldexp.
1997-11-04 15:23:23 +00:00
is
31c3c1a2b3 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.
1997-10-09 20:06:18 +00:00
is
e6cb27b508 ieee.h and ldexp.c taken from the powerpc port, for the benefit of
68040 and 68060 owners.
With ``make M68040=1'' or ``make M68060=1'', we build a libc where the ldexp()
doesn't use excessive amounts of system cpu time.
Without any of those defines, the normal assembler version using FSCALE is
included, for the benefit of M68020 and M68030 users, or M68040/M68060 users
where the ldexp performance is no bottleneck.
[Its not yet worked out how to include both library versions in a binary
distribution, but you can build your own from source now if you need it.]
For details, look at PR 3105.
1997-10-02 21:47:47 +00:00
jtc
9f3b240e5c Fix files using old TNF copyright notice 1997-07-30 23:50:37 +00:00
veego
f58c16ffe9 Remove the duplicated __builtin_saveregs function.
We only need it in src/gnu/usr.bin/gcc/libgcc/libgcc2.c.
1997-07-14 21:04:43 +00:00
christos
e80ba636a1 Builtin saveregs returns void *, not void. 1997-07-14 19:36:44 +00:00
christos
b9af52952a Add missing prototypes. From Bernd. 1997-07-14 02:13:56 +00:00
christos
91c9c62e44 Fix RCSID's 1997-07-13 18:45:15 +00:00
christos
f6ff6c08f8 Fix RCSID's
Add missing math.h include
1997-07-13 18:41:38 +00:00
christos
b3bd98a5e6 Fix RCSID's
Add missing math.h include
1997-07-13 18:39:54 +00:00
thorpej
d0fed6c87d Use <machine/asm.h> 1997-04-25 00:58:41 +00:00
thorpej
5ef4bdf6cf Architecture-specific bits for libc on the PowerPC. From Wolfgang
Solfrank <ws@tools.de>
1997-03-29 20:55:50 +00:00
jtc
16e8217f5a new implementation that simply clears most significant bit 1996-06-26 15:05:40 +00:00
jtc
290756c01b use fscalel instead of ftwotoxl/fmulx 1996-06-26 15:04:06 +00:00
jtc
daa40d9a50 Add explicit return type 1996-02-05 04:30:51 +00:00
thorpej
9f1ee9ae9c New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
1995-12-13 19:35:39 +00:00
briggs
b1f67e2969 m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
1995-05-03 03:43:05 +00:00
mycroft
ae34e2ea6e Put jtc's notice back, since these are now roughly identical. 1995-04-09 23:32:53 +00:00
mycroft
ac11de32c1 Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
1995-04-09 23:28:38 +00:00
mycroft
99a6cfe734 Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
1995-04-09 22:49:26 +00:00
mycroft
a94ab51d20 Fix typo. 1995-04-09 20:44:02 +00:00
mycroft
14e246dc4a Optimize. 1995-04-09 19:18:49 +00:00
jtc
1b41528de0 removed commented-out #include <machine/asm.h> 1995-04-09 19:13:26 +00:00
jtc
30c05ea2b8 Added __flt_rounds(), fp{get,set}{round,mask,sticky}(). 1995-04-07 00:41:43 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd
572e3f3188 don't forget inifinity.c 1995-02-25 16:24:22 +00:00
cgd
ea1ca14ecb need these for new gen/Makefile 1995-02-25 16:20:12 +00:00
mycroft
af176ad58f Revert this. 1994-08-05 22:35:20 +00:00
chopps
03dbf74333 inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
1994-08-04 05:00:50 +00:00
chopps
a6a8e78548 update to use sigaltstack. 1994-05-10 08:15:57 +00:00
mycroft
448e711c78 Clean up deleted files. 1993-12-04 01:28:42 +00:00
paulus
5f70961885 Machine-dependent files for generic m68k machines (copied from hp300) 1993-11-25 23:36:47 +00:00