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 <[email protected]>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
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to