svn commit: r194688 - head/lib/libc/i386/stdlib

Ed Schouten ed at FreeBSD.org
Tue Jun 23 09:05:00 UTC 2009


Author: ed
Date: Tue Jun 23 09:04:59 2009
New Revision: 194688
URL: http://svn.freebsd.org/changeset/base/194688

Log:
  Remove hand-written labs/abs implementations. GCC is smart enough.
  
  It turns out GCC generates code that's a couple of bytes big bigger, but
  performs no branching whatsoever.
  
  Submitted by:	Christoph Mallon

Deleted:
  head/lib/libc/i386/stdlib/abs.S
  head/lib/libc/i386/stdlib/labs.S
Modified:
  head/lib/libc/i386/stdlib/Makefile.inc

Modified: head/lib/libc/i386/stdlib/Makefile.inc
==============================================================================
--- head/lib/libc/i386/stdlib/Makefile.inc	Tue Jun 23 09:02:24 2009	(r194687)
+++ head/lib/libc/i386/stdlib/Makefile.inc	Tue Jun 23 09:04:59 2009	(r194688)
@@ -1,4 +1,4 @@
 #	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
 # $FreeBSD$
 
-MDSRCS+=abs.S div.S labs.S ldiv.S
+MDSRCS+=div.S ldiv.S


More information about the svn-src-all mailing list