3 ms·
Every C and C++ compiler has supported inline asm for decades, so that's what you should use if you really need to control the assembly output. The fact that yo
by eklitzke 3y ago
Every C and C++ compiler has supported inline asm for decades, so that's what you should use if you really need to control the assembly output. The fact that you can switch between the two within the same function is one of the selling points of both languages.
- muricula 3y agomsvc does not support inline asm for x86_64 code. Additionally, inline asm can be quite fragile, can impede other optimization opportunities, and it is easy to misstate your inline asm's invariants and side effects to the compiler.