Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/arch/i387 Use the correct register on AMD64 for the...



details:   https://anonhg.NetBSD.org/src/rev/de24a1b61aa2
branches:  trunk
changeset: 786381:de24a1b61aa2
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Apr 27 18:36:41 2013 +0000

description:
Use the correct register on AMD64 for the argument.

diffstat:

 lib/libm/arch/i387/s_scalbn.S  |  4 ++--
 lib/libm/arch/i387/s_scalbnf.S |  4 ++--
 lib/libm/arch/i387/s_scalbnl.S |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r b35480de4f4a -r de24a1b61aa2 lib/libm/arch/i387/s_scalbn.S
--- a/lib/libm/arch/i387/s_scalbn.S     Sat Apr 27 18:19:19 2013 +0000
+++ b/lib/libm/arch/i387/s_scalbn.S     Sat Apr 27 18:36:41 2013 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_scalbn.S,v 1.10 2013/02/11 01:19:33 matt Exp $")
+RCSID("$NetBSD: s_scalbn.S,v 1.11 2013/04/27 18:36:41 joerg Exp $")
 
 #ifdef WEAK_ALIAS
 WEAK_ALIAS(scalbn,_scalbln)
@@ -28,7 +28,7 @@
 
 ENTRY(_scalbln)
 #ifdef __x86_64__
-       movq %rdx,-16(%rsp)
+       movq %rdi,-16(%rsp)
        fildq -16(%rsp)
        movsd %xmm0,-8(%rsp)
        fldl -8(%rsp)
diff -r b35480de4f4a -r de24a1b61aa2 lib/libm/arch/i387/s_scalbnf.S
--- a/lib/libm/arch/i387/s_scalbnf.S    Sat Apr 27 18:19:19 2013 +0000
+++ b/lib/libm/arch/i387/s_scalbnf.S    Sat Apr 27 18:36:41 2013 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_scalbnf.S,v 1.11 2013/02/12 02:52:13 matt Exp $")
+RCSID("$NetBSD: s_scalbnf.S,v 1.12 2013/04/27 18:36:41 joerg Exp $")
 
 #ifdef WEAK_ALIAS
 WEAK_ALIAS(scalbnf,_scalbnf)
@@ -29,7 +29,7 @@
 
 ENTRY(_scalblnf)
 #ifdef __x86_64__
-       movq %rdx,-16(%rsp)
+       movq %rdi,-16(%rsp)
        fildq -16(%rsp)
        movss %xmm0,-4(%rsp)
        flds -4(%rsp)
diff -r b35480de4f4a -r de24a1b61aa2 lib/libm/arch/i387/s_scalbnl.S
--- a/lib/libm/arch/i387/s_scalbnl.S    Sat Apr 27 18:19:19 2013 +0000
+++ b/lib/libm/arch/i387/s_scalbnl.S    Sat Apr 27 18:36:41 2013 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_scalbnl.S,v 1.3 2013/02/11 02:45:16 christos Exp $")
+RCSID("$NetBSD: s_scalbnl.S,v 1.4 2013/04/27 18:36:41 joerg Exp $")
 
 #ifdef WEAK_ALIAS
 WEAK_ALIAS(scalbnl,_scalbnl)
@@ -27,7 +27,7 @@
 
 ENTRY(_scalblnl)
 #ifdef __x86_64__
-       movq    %rdx,-8(%rsp)
+       movq    %rdi,-8(%rsp)
        fildq   -8(%rsp)
        fldt    8(%rsp)
        fscale



Home | Main Index | Thread Index | Old Index