[PATCH][Revised] Fix PR66509

Jack Howarth howarth.at.gcc@gmail.com
Fri Jun 26 16:15:00 GMT 2015


  The attached revised patch adjusts the tests for the filds and fists
mnemonics to use the assembly...

filds (%ebp); fists (%ebp)

and the test for the fildq and fistq mnemonics to use the assembly...

fildq (%ebp); fistpq (%ebp)

which will assemble for both 64-bit and 32-bit mode. This is required
to avoid "ambiguous instructions require an explicit suffix" errors
from the clang-based assembler in Xcode 7. The change also has the
side-benefit of allowing the legacy GNU assembler from Xcode 6.3 or
earlier to properly detect that the filds, fists, fildq and fistq
mnemonics are available on x86_64-apple-darwin. Bootstrapped tested on
x86_64-apple-darwin14 against the Apple Inc version cctools-870, GNU
assembler version 1.38 and on x86_64-apple-darwin15 against the new
clang-based assembler.
        Okay for gcc trunk?
                   Jack
ps Also confirmed with 'as -32' and 'as -64' on x86_64 Fedora.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR66509_v2.patch
Type: application/octet-stream
Size: 912 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150626/a342e8b6/attachment.obj>


More information about the Gcc-patches mailing list