Use the correct register on AMD64 for the argument.
This commit is contained in:
parent
dc14ae835f
commit
d816b4de58
|
@ -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 @@ STRONG_ALIAS(_scalbn, scalbln)
|
|||
|
||||
ENTRY(_scalbln)
|
||||
#ifdef __x86_64__
|
||||
movq %rdx,-16(%rsp)
|
||||
movq %rdi,-16(%rsp)
|
||||
fildq -16(%rsp)
|
||||
movsd %xmm0,-8(%rsp)
|
||||
fldl -8(%rsp)
|
||||
|
|
|
@ -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 @@ STRONG_ALIAS(_scalbnf,_scalblnf)
|
|||
|
||||
ENTRY(_scalblnf)
|
||||
#ifdef __x86_64__
|
||||
movq %rdx,-16(%rsp)
|
||||
movq %rdi,-16(%rsp)
|
||||
fildq -16(%rsp)
|
||||
movss %xmm0,-4(%rsp)
|
||||
flds -4(%rsp)
|
||||
|
|
|
@ -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 @@ STRONG_ALIAS(_scalbnl,_scalblnl)
|
|||
|
||||
ENTRY(_scalblnl)
|
||||
#ifdef __x86_64__
|
||||
movq %rdx,-8(%rsp)
|
||||
movq %rdi,-8(%rsp)
|
||||
fildq -8(%rsp)
|
||||
fldt 8(%rsp)
|
||||
fscale
|
||||
|
|
Loading…
Reference in New Issue