AVX512
This commit is contained in:
parent
04fbe296b2
commit
63c3066c2c
2 changed files with 1 additions and 12 deletions
|
@ -112,9 +112,6 @@ static inline Tv vblend__(Tv m, Tv a, Tv b)
|
||||||
#if (VLEN==4)
|
#if (VLEN==4)
|
||||||
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#if (USE_FMA4)
|
|
||||||
#include <x86intrin.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef __m256d Tv;
|
typedef __m256d Tv;
|
||||||
typedef __m256d Tm;
|
typedef __m256d Tm;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#ifndef VLEN
|
#ifndef VLEN
|
||||||
|
|
||||||
#if (defined (__MIC__))
|
#if (defined (__MIC__) || defined(__AVX512F__))
|
||||||
#define VLEN 8
|
#define VLEN 8
|
||||||
#elif (defined (__AVX__))
|
#elif (defined (__AVX__))
|
||||||
#define VLEN 4
|
#define VLEN 4
|
||||||
|
@ -46,12 +46,4 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef USE_FMA4
|
|
||||||
#ifdef __FMA4__
|
|
||||||
#define USE_FMA4 1
|
|
||||||
#else
|
|
||||||
#define USE_FMA4 0
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue