public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] ldexp/ldexpf: avoid assembler warning
Date: Fri,  3 Sep 2021 10:53:03 +0000 (GMT)	[thread overview]
Message-ID: <20210903105303.33670384BC3A@sourceware.org> (raw)

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


                 reply	other threads:[~2021-09-03 10:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210903105303.33670384BC3A@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).