cleanup
This commit is contained in:
parent
e231a0e184
commit
7ef585e3bb
8 changed files with 20 additions and 55 deletions
|
@ -1,9 +1,7 @@
|
|||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#define ARCH default
|
||||
#define GENERIC_ARCH
|
||||
#include "sharp_core_inc.c"
|
||||
#undef GENERIC_ARCH
|
||||
#undef ARCH
|
||||
|
||||
typedef void (*t_inner_loop) (sharp_job *job, const int *ispair,
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#ifdef MULTIARCH
|
||||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#define ARCH avx
|
||||
#include "sharp_core_inc.c"
|
||||
#endif
|
|
@ -1,8 +0,0 @@
|
|||
#ifdef MULTIARCH
|
||||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#define ARCH avx2
|
||||
#include "sharp_core_inc.c"
|
||||
#endif
|
|
@ -1,8 +0,0 @@
|
|||
#ifdef MULTIARCH
|
||||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#define ARCH avx512f
|
||||
#include "sharp_core_inc.c"
|
||||
#endif
|
|
@ -1,8 +0,0 @@
|
|||
#ifdef MULTIARCH
|
||||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#define ARCH fma
|
||||
#include "sharp_core_inc.c"
|
||||
#endif
|
|
@ -1,8 +0,0 @@
|
|||
#ifdef MULTIARCH
|
||||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#define ARCH fma4
|
||||
#include "sharp_core_inc.c"
|
||||
#endif
|
|
@ -29,6 +29,12 @@
|
|||
* \author Martin Reinecke
|
||||
*/
|
||||
|
||||
#if (defined(MULTIARCH) || defined(GENERIC_ARCH))
|
||||
|
||||
#define XCONCATX(a,b) a##_##b
|
||||
#define XCONCATX2(a,b) XCONCATX(a,b)
|
||||
#define XARCH(a) XCONCATX2(a,ARCH)
|
||||
|
||||
#include <complex.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
@ -1179,3 +1185,5 @@ const char *XARCH(sharp_architecture)(void)
|
|||
{
|
||||
return xstr(ARCH);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue