[LLVMdev] x86 Intel Syntax and MASM 9.x

Aaron Gray aaronngray.lists at googlemail.com
Tue Jun 16 07:48:29 PDT 2009

>On Mon, Jun 15, 2009 at 5:49 PM, Gaster,
>Benedict<Benedict.Gaster at amd.com> wrote:
>> I would like to use the LLVM x86 code generator to emit Intel syntax that 
>> is
>> compatible with Microsoft’s MASM 9.x. Taking the TOT LLVM, from last 
>> week, I
>> have found a number of changes that are required to make this work, most 
>> of
>> which are straight forward but a couple I wanted to check with the group 
>> to
>> see what people thought was the best thing to do. In particular, I have 
>> made
>> all necessary changes and these are mostly constrained to the files:
>> X86IntelAsmPrinter.[h|cpp]
>> X86TargetAsmInfo.[h|cpp]
>Sounds good; did you mean to attach a patch?  It'll be easier to
>discuss with that.  (The output of "svn diff" is fine.)

Appently the GAS Intel backend has flaws and does not work correctly anyway 
so the X86IntelAsm backend is designed only to target MASM anyway.


More information about the llvm-dev mailing list