This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][Revised] Fix PR66509


On Fri, Jun 26, 2015 at 9:09 AM, Jack Howarth <howarth.at.gcc@gmail.com> wrote:
>   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.

fildq (%ebp); fistpq (%ebp)  are valid for GNU assembler.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]