swr/rast: Enable AVX-512 targets in the jitter

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley
2017-10-31 16:46:59 -05:00
parent 37bb69fb88
commit 395a298fa5
2 changed files with 0 additions and 10 deletions

View File

@@ -61,18 +61,10 @@
#define KNOB_SIMD_WIDTH 8 #define KNOB_SIMD_WIDTH 8
#define KNOB_SIMD_BYTES 32 #define KNOB_SIMD_BYTES 32
#elif (KNOB_ARCH == KNOB_ARCH_AVX512) #elif (KNOB_ARCH == KNOB_ARCH_AVX512)
#if 0
// not ready to enable this globally, enabled on the side (below)
#define KNOB_ARCH_ISA AVX512F #define KNOB_ARCH_ISA AVX512F
#define KNOB_ARCH_STR "AVX512" #define KNOB_ARCH_STR "AVX512"
#define KNOB_SIMD_WIDTH 16
#define KNOB_SIMD_BYTES 64
#else
#define KNOB_ARCH_ISA AVX2
#define KNOB_ARCH_STR "AVX2"
#define KNOB_SIMD_WIDTH 8 #define KNOB_SIMD_WIDTH 8
#define KNOB_SIMD_BYTES 32 #define KNOB_SIMD_BYTES 32
#endif
#else #else
#error "Unknown architecture" #error "Unknown architecture"
#endif #endif

View File

@@ -102,14 +102,12 @@ public:
bForceAVX2 = true; bForceAVX2 = true;
bForceAVX512 = false; bForceAVX512 = false;
} }
#if 0
else if(isaRequest == "avx512") else if(isaRequest == "avx512")
{ {
bForceAVX = false; bForceAVX = false;
bForceAVX2 = false; bForceAVX2 = false;
bForceAVX512 = true; bForceAVX512 = true;
} }
#endif
}; };
bool AVX2(void) { return bForceAVX ? 0 : InstructionSet::AVX2(); } bool AVX2(void) { return bForceAVX ? 0 : InstructionSet::AVX2(); }