public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] ldexp/ldexpf: avoid assembler warning
@ 2021-09-03 10:53 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2021-09-03 10:53 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=76c2c7a891062eae479f2a06f04ed8e51a90e9b9

commit 76c2c7a891062eae479f2a06f04ed8e51a90e9b9
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Sep 3 12:52:47 2021 +0200

    ldexp/ldexpf: avoid assembler warning
    
    libm/machine/i386/f_ldexp.S:30: Warning: no instruction mnemonic suffix given and no register operands; using default for `fild'
    libm/machine/i386/f_ldexpf.S:30: Warning: no instruction mnemonic suffix given and no register operands; using default for `fild'
    
    fix this by adding the l mnemonic suffix
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 newlib/libm/machine/i386/f_ldexp.S  | 2 +-
 newlib/libm/machine/i386/f_ldexpf.S | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/newlib/libm/machine/i386/f_ldexp.S b/newlib/libm/machine/i386/f_ldexp.S
index e7b83c438..4ed223682 100644
--- a/newlib/libm/machine/i386/f_ldexp.S
+++ b/newlib/libm/machine/i386/f_ldexp.S
@@ -27,7 +27,7 @@ There is no error checking or setting of errno.
 SYM (_f_ldexp):
 	pushl ebp
 	movl esp,ebp
-	fild 16(ebp)
+	fildl 16(ebp)
 	fldl 8(ebp)
 	fscale
 	fstp st1
diff --git a/newlib/libm/machine/i386/f_ldexpf.S b/newlib/libm/machine/i386/f_ldexpf.S
index 59d53548c..fa19383a9 100644
--- a/newlib/libm/machine/i386/f_ldexpf.S
+++ b/newlib/libm/machine/i386/f_ldexpf.S
@@ -27,7 +27,7 @@ There is no error checking or setting of errno.
 SYM (_f_ldexpf):
 	pushl ebp
 	movl esp,ebp
-	fild 12(ebp)
+	fildl 12(ebp)
 	flds 8(ebp)
 	fscale
 	fstp st1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-03 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 10:53 [newlib-cygwin] ldexp/ldexpf: avoid assembler warning Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).