search for: readeflags

Displaying 3 results from an estimated 3 matches for "readeflags".

2013 Dec 17
2
[LLVMdev] Intrinsics __readeflags and __writeeflags
...nsic 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? [1] < http://connect.microsoft.com/VisualStudio/feedback/details/691456/-readeflags-intrinsic-can-be-reordered-by-the-compiler > On Tue, Dec 17, 2013 at 11:00 AM, Reid Kleckner <rnk at google.com> wrote: > I don't know enough about LLVM CodeGen to answer your questions. I'm just > curious. > > What is the intended level of support for these intrins...
2013 Dec 17
0
[LLVMdev] Intrinsics __readeflags and __writeeflags
...from previous ops without "using" the operation. LLVM does have overflow intrinsics though: http://llvm.org/docs/LangRef.html#id1164 On Tue, Dec 17, 2013 at 1:02 AM, Alexey Volkov <avolkov.intel at gmail.com>wrote: > Hello all, > > I am trying to implement intrinsics __readeflags and __writeeflags reading > and writing EFLAGS register on x86. > These intrinsics expand to two instructions popf and push to register for > __readeflags and pushf and pop to register for __writeeflags. > These instructions are not connected explicitly so I can't use patterns in &g...
2013 Dec 17
2
[LLVMdev] Intrinsics __readeflags and __writeeflags
Hello all, I am trying to implement intrinsics __readeflags and __writeeflags reading and writing EFLAGS register on x86. These intrinsics expand to two instructions popf and push to register for __readeflags and pushf and pop to register for __writeeflags. These instructions are not connected explicitly so I can't use patterns in .td file to match intr...