[LLVMdev] Intrinsics __readeflags and __writeeflags

Joerg Sonnenberger joerg at britannica.bec.de
Tue Dec 17 14:00:36 PST 2013


On Tue, Dec 17, 2013 at 01:05:10PM -0800, David Majnemer wrote:
> This intrinsic seems very ill-defined, apparently it can be freely
> reordered and does _not_ act like a compiler barrier. [1]
> Other than source compatibility, why would one want this intrinsic?  What
> semantics is it supposed to give?

Even more, why can't it just be defined as inline function in some
header?

Joerg



More information about the llvm-dev mailing list