Browse Source

Revert AVX512 capability check from PR #1980

pull/3571/head
Martin Kroeker GitHub 4 years ago
parent
commit
8f10a5f7ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      getarch.c

+ 5
- 1
getarch.c View File

@@ -94,14 +94,18 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/sysinfo.h>
#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))
#else
#ifndef NO_AVX512
#define NO_AVX512
#endif
#endif
#endif*/
#ifdef NO_AVX512
#error("getarch compiled with NO_AVX512")
#endif

/* #define FORCE_P2 */
/* #define FORCE_KATMAI */
/* #define FORCE_COPPERMINE */


Loading…
Cancel
Save