Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 09:04:59 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194688 - head/lib/libc/i386/stdlib
Message-ID:  <200906230904.n5N94xVw069447@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906230904.n5N94xVw069447>