Messages in this thread | | | Date | Sun, 14 Jul 2013 14:14:46 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH] x86/asm: avoid mnemonics without type suffix |
| |
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@linux.intel.com -- Speaking for myself only
| |