Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86-64 Intel syntax support for --emit=asm #13441

Open
HertzDevil opened this issue May 5, 2023 · 0 comments
Open

x86-64 Intel syntax support for --emit=asm #13441

HertzDevil opened this issue May 5, 2023 · 0 comments

Comments

@HertzDevil
Copy link
Contributor

HertzDevil commented May 5, 2023

There should be a way to enable Intel syntax for the assembly file emitted by LLVM when building an x86-64 program, regardless of whether asm accepts AT&T or Intel syntax and, when cross-compiling, probably regardless of whether the host platform runs on x86-64 too.

The main use case, of course, is getting the relevant option in Compiler Explorer to work, but it also might be useful to feed the assembly file into assemblers that only support the Intel syntax, like MASM.

Note that asm itself cannot use Intel syntax until #14264.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant