[PATCH] Implement __readeflags and __writeeflags intrinsics

Reid Kleckner rnk at google.com
Thu Feb 27 14:13:31 PST 2014


OK.  IMO we should do what GCC does here.  Can you create an ia32intrin.h
header and include it from x86intrin.h?  The existing inline asm
implementation is fine.  Our Intrin.h header should pick it up from
x86intrin.h automatically, and things should Just Work.

Sorry for the delay.


On Thu, Feb 27, 2014 at 5:20 AM, Alexey Volkov <avolkov.intel at gmail.com>wrote:

>
>   These intrinsics in GCC are in ia32intrin.h header.
>   There are no such file in clang headers.
>   Looking through functions in GCC's ia32intrin.h I found similar ones in
> Clang's Intrin.h file and other headers included into x86intrin.h.
>   So we could use some file included into x86intrin.h or create a new
> header and include it into x86intrin.h.
>
> http://llvm-reviews.chandlerc.com/D2468
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140227/30b41e4c/attachment.html>


More information about the cfe-commits mailing list