Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2009 10:56:09 +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: r194621 - head/lib/libc/i386/stdlib
Message-ID:  <200906221056.n5MAu9N1037396@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Mon Jun 22 10:56:08 2009
New Revision: 194621
URL: http://svn.freebsd.org/changeset/base/194621

Log:
  Remove unneeded stores back into the function arguments.
  
  Submitted by:	Christoph Mallon

Modified:
  head/lib/libc/i386/stdlib/div.S
  head/lib/libc/i386/stdlib/ldiv.S

Modified: head/lib/libc/i386/stdlib/div.S
==============================================================================
--- head/lib/libc/i386/stdlib/div.S	Mon Jun 22 10:27:20 2009	(r194620)
+++ head/lib/libc/i386/stdlib/div.S	Mon Jun 22 10:56:08 2009	(r194621)
@@ -33,7 +33,5 @@ ENTRY(div)
         movl    8(%esp),%ecx
         cdq
         idiv    %ecx
-        movl    %eax,4(%esp)
-        movl    %edx,8(%esp)
         ret
 END(div)

Modified: head/lib/libc/i386/stdlib/ldiv.S
==============================================================================
--- head/lib/libc/i386/stdlib/ldiv.S	Mon Jun 22 10:27:20 2009	(r194620)
+++ head/lib/libc/i386/stdlib/ldiv.S	Mon Jun 22 10:56:08 2009	(r194621)
@@ -36,7 +36,5 @@ ENTRY(ldiv)
         movl    8(%esp),%ecx
         cdq
         idiv    %ecx
-        movl    %eax,4(%esp)
-        movl    %edx,8(%esp)
         ret
 END(ldiv)



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