Re:Asm-declaration – Embed assembly language code within a C...
by pjmlp on Saturday July 27, 2019 @03:09AM
(#20540801)
Sure it can, I really don't see any difference between that and a naked call with LTO, beyond the convenience of saving about a minute not having to write a prototype for the function being called and adding MASM into the build.
To fix a problem like Spectre, and generally to solve unusual problems that the compiler vendor isn't dealing with, the full capability of an inline assembler is required.