tuklib_integer: New Intel C compiler needs immintrin.h.
Thanks to Melanie Blower (Intel) for the patch.
This commit is contained in:
parent
4505ca4839
commit
a3ce3e9023
|
@ -98,6 +98,17 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////
|
||||||
|
// Compiler-specific features //
|
||||||
|
////////////////////////////////
|
||||||
|
|
||||||
|
// Newer Intel C compilers require immintrin.h for _bit_scan_reverse()
|
||||||
|
// and such functions.
|
||||||
|
#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500)
|
||||||
|
# include <immintrin.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
///////////////////
|
///////////////////
|
||||||
// Byte swapping //
|
// Byte swapping //
|
||||||
///////////////////
|
///////////////////
|
||||||
|
|
Loading…
Reference in New Issue