multiarch experiment

This commit is contained in:
Martin Reinecke 2019-01-18 15:19:45 +01:00
parent 1871f8500c
commit 90d2444bf1
7 changed files with 24 additions and 30 deletions

View file

@ -18,7 +18,7 @@ static t_veclen veclen_ = NULL;
static t_max_nvec max_nvec_ = NULL;
static t_architecture architecture_ = NULL;
#if defined(__GNUC__) && defined (__x86_64__) && (__GNUC__>=6)
#ifdef MULTIARCH
#define DECL(arch) \
static int XCONCATX2(have,arch)(void) \
@ -59,7 +59,7 @@ DECL(avx)
static void assign_funcs(void)
{
#if defined(__GNUC__) && defined (__x86_64__) && (__GNUC__>=6)
#ifdef MULTIARCH
#define DECL2(arch) \
if (XCONCATX2(have,arch)()) \
{ \