summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1999-05-14 17:39:54 +0000
committergibbs <gibbs@FreeBSD.org>1999-05-14 17:39:54 +0000
commit2e962e0f39a316d8de7e2033c2e4015f92758761 (patch)
tree69529ed0ce8644e5437ca15aa5f688805a390c66
parentfaae8dc112ff491eaee5cd05c5c392771e17a6cd (diff)
downloadFreeBSD-src-2e962e0f39a316d8de7e2033c2e4015f92758761.zip
FreeBSD-src-2e962e0f39a316d8de7e2033c2e4015f92758761.tar.gz
Nuke ucmpdi2.c from i386/libkern to serve as a reminder that switch
statements on 64bit values generate poor code. Requested by: bde
-rw-r--r--sys/conf/files.i3863
-rw-r--r--sys/i386/conf/files.i3863
-rw-r--r--sys/libkern/quad.h3
-rw-r--r--sys/libkern/ucmpdi2.c4
4 files changed, 5 insertions, 8 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index ca1da86..01cd4b7 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
-# $Id: files.i386,v 1.240 1999/05/14 03:57:25 obrien Exp $
+# $Id: files.i386,v 1.241 1999/05/14 05:10:15 gibbs Exp $
#
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
@@ -342,7 +342,6 @@ libkern/strlen.c standard
libkern/strncmp.c standard
libkern/strncpy.c standard
libkern/udivdi3.c standard
-libkern/ucmpdi2.c standard
libkern/umoddi3.c standard
gnu/i386/fpemul/div_small.s optional gpl_math_emulate
gnu/i386/fpemul/errors.c optional gpl_math_emulate
diff --git a/sys/i386/conf/files.i386 b/sys/i386/conf/files.i386
index ca1da86..01cd4b7 100644
--- a/sys/i386/conf/files.i386
+++ b/sys/i386/conf/files.i386
@@ -1,7 +1,7 @@
# This file tells config what files go into building a kernel,
# files marked standard are always included.
#
-# $Id: files.i386,v 1.240 1999/05/14 03:57:25 obrien Exp $
+# $Id: files.i386,v 1.241 1999/05/14 05:10:15 gibbs Exp $
#
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
@@ -342,7 +342,6 @@ libkern/strlen.c standard
libkern/strncmp.c standard
libkern/strncpy.c standard
libkern/udivdi3.c standard
-libkern/ucmpdi2.c standard
libkern/umoddi3.c standard
gnu/i386/fpemul/div_small.s optional gpl_math_emulate
gnu/i386/fpemul/errors.c optional gpl_math_emulate
diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h
index cd4d5e5..0c9c9dd 100644
--- a/sys/libkern/quad.h
+++ b/sys/libkern/quad.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)quad.h 8.1 (Berkeley) 6/4/93
- * $Id: quad.h,v 1.6 1997/02/22 09:39:58 peter Exp $
+ * $Id: quad.h,v 1.7 1999/05/14 05:05:32 gibbs Exp $
*/
/*
@@ -100,7 +100,6 @@ union uu {
quad_t __divdi3 __P((quad_t a, quad_t b));
quad_t __moddi3 __P((quad_t a, quad_t b));
u_quad_t __qdivrem __P((u_quad_t u, u_quad_t v, u_quad_t *rem));
-int __ucmpdi2 __P((u_quad_t a, u_quad_t b));
u_quad_t __udivdi3 __P((u_quad_t a, u_quad_t b));
u_quad_t __umoddi3 __P((u_quad_t a, u_quad_t b));
diff --git a/sys/libkern/ucmpdi2.c b/sys/libkern/ucmpdi2.c
index 987d213..4f8cc87 100644
--- a/sys/libkern/ucmpdi2.c
+++ b/sys/libkern/ucmpdi2.c
@@ -34,10 +34,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ucmpdi2.c,v 1.4 1997/02/22 09:40:05 peter Exp $
+ * $Id: ucmpdi2.c,v 1.5 1999/05/14 05:05:33 gibbs Exp $
*/
-#include <libkern/quad.h>
+#include "quad.h"
/*
* Return 0, 1, or 2 as a <, =, > b respectively.
OpenPOWER on IntegriCloud