Nuke ucmpdi2.c from i386/libkern to serve as a reminder that switch
statements on 64bit values generate poor code. Requested by: bde
This commit is contained in:
parent
168d6886b8
commit
600829cdfc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47193
@ -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
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user