How do I tell gcc that my inline assembly clobbers part of the stack?

前端 未结 1 1793
借酒劲吻你
借酒劲吻你 2021-01-13 20:20

Consider inline assembly like this:

uint64_t flags;
asm (\"pushf\\n\\tpop %0\" : \"=rm\"(flags) : : /* ??? */);

Nonwithstanding the fact th

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-13 20:45

    As far as I am concerned, this is currently not possible.

    0 讨论(0)
提交回复
热议问题