How to detect user uses -masm=intel?
Andrew Pinski
pinskia@gmail.com
Thu Jul 29 01:42:49 GMT 2021
On Wed, Jul 28, 2021 at 6:41 PM unlvsur unlvsur via Gcc <gcc@gcc.gnu.org> wrote:
>
> Any GCC macro that can tell the code it is using the intel format’s assembly instead of at&t??
Inside the inline-asm you can use the alternative.
Like this:
cmp{b}\t{%1, %h0|%h0, %1}
This is how GCC implements this inside too.
Thanks,
Andrew
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
More information about the Gcc
mailing list