Please, really, make `-masm=intel` the default for x86
LIU Hao
lh_mouse@126.com
Fri Nov 25 09:11:26 GMT 2022
在 2022/11/25 16:50, Marc Glisse 写道:
> On Fri, 25 Nov 2022, LIU Hao via Gcc wrote:
>
>> I am a Windows developer and I have been writing x86 and amd64 assembly for more than ten years.
>> One annoying thing about GCC is that, for x86 if I need to write I piece of inline assembly then I
>> have to do it twice: one in AT&T syntax and one in Intel syntax.
>
> The doc for -masm=dialect says:
>
> Darwin does not support ‘intel’.
>
> Assuming that's still true, and even with Mac Intel going away, it doesn't help.
>
Did you mean 'Darwin' instead of 'macOS'?
The first-class C and C++ compiler for macOS is Clang anyway; even the thing named 'gcc' is
effectively Clang.
--
Best regards,
LIU Hao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20221125/9369a159/attachment.sig>
More information about the Gcc
mailing list