Re: Which header for AMD XOP _mm_roti_epi64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 02, 2019 at 05:46:24PM -0400, Jeffrey Walton wrote:
> We don't use <x86intrin.h> because it is missing on too many systems
> we support (even those that use GCC).
> 
> Is there a way to get GCC to provide the functions through a system
> header as expected?

#include <x86intrin.h>

It *is* a system header.  And it is provided by GCC, and it gives you
_mm_roti_epi64, provided you have GCC 4.5 or later.

If you don't want to use it, you're on your own.  Good luck.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux