]> sourceware.org Git - newlib-cygwin.git/commitdiff
ldexp/ldexpf: avoid assembler warning
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 3 Sep 2021 10:52:47 +0000 (12:52 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 3 Sep 2021 10:52:47 +0000 (12:52 +0200)
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>
newlib/libm/machine/i386/f_ldexp.S
newlib/libm/machine/i386/f_ldexpf.S

index e7b83c43853ee61d2f615543de69cac4dcf232f9..4ed223682dfb4c7536a00757dd7a527153e5e01f 100644 (file)
@@ -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
index 59d53548c5490f9a90873025d7c2e58e488705fb..fa19383a932124f564e0f4ad27c0c019123e55ac 100644 (file)
@@ -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
This page took 0.033173 seconds and 5 git commands to generate.