Issue
Consider inline assembly like this:
uint64_t flags;
asm ("pushf\n\tpop %0" : "=rm"(flags) : : /* ??? */);
Nonwithstanding the fact that there is probably some kind of intrinsic to get the contents of RFLAGS, how do I indicate to the compiler that my inline assembly clobbers one quadword of memory at the top of stack?
Solution
As far as I am concerned, this is currently not possible.
Answered By - fuz Answer Checked By - Katrina (WPSolving Volunteer)