mirror of https://gitlab.com/rnger/amath
ARM support
This commit is contained in:
parent
23a2329f83
commit
fe6b65eb54
|
@ -76,6 +76,9 @@
|
||||||
#if defined(__x86_64__)
|
#if defined(__x86_64__)
|
||||||
# define TXTCPU "amd64"
|
# define TXTCPU "amd64"
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__arm__) || defined(_M_ARM)
|
||||||
|
# define TXTCPU "ARM"
|
||||||
|
#endif
|
||||||
#ifndef TXTCPU
|
#ifndef TXTCPU
|
||||||
#error what cpu is this ?!
|
#error what cpu is this ?!
|
||||||
//#define TXTCPU EMPTYSTRING
|
//#define TXTCPU EMPTYSTRING
|
||||||
|
|
|
@ -80,8 +80,8 @@ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int
|
||||||
#define __IEEE_BIG_ENDIAN
|
#define __IEEE_BIG_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ARMCPU) || defined(__arm__)
|
#if defined(ARMCPU) || defined(__arm__) || defined(_M_ARM)
|
||||||
#define __IEEE_BIG_ENDIAN
|
#define __IEEE_LITTLE_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __IEEE_BIG_ENDIAN
|
#ifndef __IEEE_BIG_ENDIAN
|
||||||
|
|
Loading…
Reference in New Issue