http://llvm.org/bugs/show_bug.cgi?id=20241
Bug ID: 20241
Summary: inline assemby does not respect --x86-asm-syntax
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 12752
--> http://llvm.org/bugs/attachment.cgi?id=12752&action=edit
testcase
Memory references in inline assembly use AT&T syntax (e.g. "(%eax)" instead of
"[eax]"), regardless of the --x86-asm-syntax setting.
A testcase is attached. It is intended to be compiled with -no-integrated-as
-mllvm --x86-asm-syntax=intel -m32.
The output is "lock inc -4(%ebp)", wheras a "lock inc dword ptr [ebp - 4]" is
required.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs