uebayasi
f0d2ed931c
Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
...
then append them to ${SRCS}. Those will be used to generate quad / softfloat
symbol lists.
2009-12-06 05:34:42 +00:00
christos
e5548b402a
Use reach-over sources from common/lib/libc
2005-12-20 19:31:47 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
scw
37b34d511d
As discussed (briefly) on tech-userlevel, fix our quad support to work
...
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
2002-10-20 10:15:47 +00:00
fredette
90703ff4b3
Compile ashldi3.S and lshrdi3.S on m68000.
2001-05-18 15:23:44 +00:00
christos
bfa2813aa9
remove duplicate declaration.
2000-12-10 03:54:22 +00:00
thorpej
b193ffa77c
Use __GNUC_PREREQ__().
2000-05-05 00:20:22 +00:00
mycroft
c6a0f46b4f
Delint.
2000-01-22 22:53:59 +00:00
kleink
ba7f64cc15
Revert previous change: the assertion
...
* is made in a utility function with file scope only, and
* will never fail.
1999-09-17 09:18:15 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1999-09-16 11:44:54 +00:00
drochner
24ca0bcfa6
The last commit changed the behavious wrt sign extension.
...
Back it out and replace with LINTED comments.
1999-09-10 12:53:10 +00:00
christos
314e0b18b9
change an #if __GNUC >= 2 to #if (__GNUC__ >= 2) || defined(lint)
...
to get the right definition of qshift_t.
1999-05-03 15:39:47 +00:00
christos
9ed746aaf1
Cast things to (digit) where the LHS is (digit) to avoid loss of precision
...
lint warnings. This change should be harmless.
1999-05-03 15:38:41 +00:00
christos
3314f1b0c5
Cast signed long shifts to unsigned long to avoid lint portability warnings.
...
The comment above the code mentions that it should work even on machines
that shift in zeroes.
1999-05-03 15:37:48 +00:00
kristerw
8dab0300c3
Corrected an off-by-one error (lib/6314 Torbjorn Granlund)
1999-03-26 21:04:24 +00:00
drochner
a34eb7c1b7
use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
...
libc builds on pmax again
1999-02-24 15:05:20 +00:00
cgd
72a24defa2
use machine/limits.h if _KERNEL or _STANDALONE
1998-03-27 01:01:54 +00:00
perry
4146d58604
remove obsolete register declarations
1998-02-03 18:23:37 +00:00
mouse
a9aceea509
Make shifting by 0 work even when shifting by 32 is equivalent to shifting
...
by 0. Fixes lib/4845 (KNFification of the fix given therein).
1998-01-29 03:23:40 +00:00
mikel
2165959350
make sure result of % operator is identical for quad_t, int and long;
...
fix provided by Chris Torek <torek@BSDI.COM> in a message to tech-kern.
1997-12-30 07:58:36 +00:00
christos
2531ab66a8
Fix RCSID's
1997-07-13 20:01:39 +00:00
christos
fe01047787
Add missing prototypes
1997-07-13 20:01:06 +00:00
christos
d56fa32336
Fix declaration to use quad_t, not long long.
...
Fix RCSID's
1997-07-13 20:00:34 +00:00
cgd
1656c8d473
don't include lshrdi3.c in MI sources, since they're already in MD sources
1996-12-20 19:44:12 +00:00
jtc
ae94fc4d74
Note functions that probably can be removed
1996-06-01 21:39:21 +00:00
jtc
8e1fdaa50e
Don't special case shift counts > QUAD_BITS or == 0. The former is
...
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.
These changes make these functions considerably smaller and faster.
1996-06-01 21:21:50 +00:00
jtc
17c5522d18
Re-arranged code a bit so that gcc can optimize this a bit better.
...
This change results in better code on the i386, m68k, & ns32k, and
equivalent code on the sparc.
1996-06-01 02:24:29 +00:00
jtc
fb600c331a
Fix typo in last change
1996-06-01 02:06:23 +00:00
jtc
5bbcde6a0d
Enable use of assembly language shift routines on the m68k
1996-06-01 01:14:00 +00:00
jtc
af8ead3302
Fix from Jochen Pohl which fixes case where quad multiply
...
goes awry if bit 31 of at least one of the operands is set
(PR #1591 ).
1995-10-12 15:05:35 +00:00
cgd
d48964d413
clean up Ids; no substantive changes.
1995-02-27 17:29:31 +00:00
cgd
edfa833652
from Lite
1995-02-27 17:00:21 +00:00
cgd
966e78191e
pull in changes from libkern.
1995-01-06 00:45:20 +00:00
cgd
3e853c8028
constants are normally ints, remember!
1994-10-19 03:09:47 +00:00
cgd
0ada107897
update for .S and MACHINE_ARCH
1993-12-04 02:33:35 +00:00
cgd
0b9f50897e
make an arch directory in libc, and move all machine dirs into it
1993-10-07 00:17:24 +00:00
mycroft
49e0bc5446
Torek's quad stuff from 4.4.
1993-09-16 06:05:46 +00:00