[LLVMdev] [PATCH] x86/asm: avoid mnemonics without type suffix

Andi Kleen ak at linux.jf.intel.com
Sun Jul 14 14:14:46 PDT 2013


I think best would be to just find some way to implement LOCK prefix
patching using atomic compiler intrinsics and then switch to those

Then all this inline assembler horror could be ifdef'ed away 
for old compilers only, and likely the generated code would
be better as the compiler could optimize more.

Or just give up on LOCK patching, as single CPU systems
and VMs are less and less interesting?

-Andi
-- 
ak at linux.intel.com -- Speaking for myself only



More information about the llvm-dev mailing list