Displaying 3 results from an estimated 3 matches for "422eaf6f".
2013 Dec 17
2
[LLVMdev] Intrinsics __readeflags and __writeeflags
...LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131217/422eaf6f/attachment.html>
2013 Dec 17
0
[LLVMdev] Intrinsics __readeflags and __writeeflags
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 intrinsics? Are they for
reading ALU flags like CF, OF, etc, or for seldom changed control flags
like TF and AC? Even DF is typically scratch, and could be used for an -Oz
memmove lowering for example.
I don't think LLVM will ever really support
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 intrinsics.
I tried to implement custom