search for: att_syntax

Displaying 1 result from an estimated 1 matches for "att_syntax".

2012 Aug 06
3
[LLVMdev] [RFC] MS-style inline assembly
...ught the right syntax for operands (i.e. the address of a stack variable is "DWORD PTR [8+ESP]" rather than "8(%esp)"), however. 4. How do we distinguish the assembly dialect at the IR level? One approach would be wrap the asm text passed to the backend with .intel_syntax and .att_syntax. E.g., call void asm sideeffect ".intel_syntax\n\tnop\n\t.att_syntax", "~{dirflag},~{fpsr},~{flags}"() nounwind Besides being rather hackish, this isn't likely going to work. Based on feedback from other internal developers, I would like to propose a small IR extension...