Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/i386/gen don't use %edi!



details:   https://anonhg.NetBSD.org/src/rev/86e8088b66ba
branches:  trunk
changeset: 770027:86e8088b66ba
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 30 23:45:41 2011 +0000

description:
don't use %edi!

diffstat:

 lib/libc/arch/i386/gen/fpsetround.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 26f50a34a554 -r 86e8088b66ba lib/libc/arch/i386/gen/fpsetround.S
--- a/lib/libc/arch/i386/gen/fpsetround.S       Fri Sep 30 23:42:00 2011 +0000
+++ b/lib/libc/arch/i386/gen/fpsetround.S       Fri Sep 30 23:45:41 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpsetround.S,v 1.4 2011/09/30 23:42:00 christos Exp $  */
+/*     $NetBSD: fpsetround.S,v 1.5 2011/09/30 23:45:41 christos Exp $  */
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD.
@@ -25,8 +25,8 @@
        movl    %edx, %eax
        andl    $0x00000c00, %eax       
        andl    $0xfffff3ff, %edx
-       movl    4(%esp), %edi
-       orl     %edi, %edx
+       movl    4(%esp), %ecx
+       orl     %ecx, %edx
        movl    %edx, -4(%esp)
        fldcw   -4(%esp)
 



Home | Main Index | Thread Index | Old Index