Revert AVX512 capability check from PR #1980
This commit is contained in:
parent
e7f5d3c894
commit
8f10a5f7ae
|
@ -94,14 +94,18 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <sys/sysinfo.h>
|
#include <sys/sysinfo.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__x86_64__) || defined(_M_X64)
|
/*#if defined(__x86_64__) || defined(_M_X64)
|
||||||
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (defined(__clang__) && __clang_major__ >= 6))
|
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (defined(__clang__) && __clang_major__ >= 6))
|
||||||
#else
|
#else
|
||||||
#ifndef NO_AVX512
|
#ifndef NO_AVX512
|
||||||
#define NO_AVX512
|
#define NO_AVX512
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif*/
|
||||||
|
#ifdef NO_AVX512
|
||||||
|
#error("getarch compiled with NO_AVX512")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* #define FORCE_P2 */
|
/* #define FORCE_P2 */
|
||||||
/* #define FORCE_KATMAI */
|
/* #define FORCE_KATMAI */
|
||||||
/* #define FORCE_COPPERMINE */
|
/* #define FORCE_COPPERMINE */
|
||||||
|
|
Loading…
Reference in New Issue