sys_defines.h: added various PC architectures

risc-v, sparc
This commit is contained in:
r-a-sattarov 2021-03-11 22:16:24 +03:00
parent 48c2468327
commit 0f6b6f53b3

View file

@ -117,10 +117,14 @@ If you have questions concerning this license or the applicable additional terms
#define CPUSTRING "e2k"
#elif defined(__aarch64__) || defined(__ARM64__) || defined(_M_ARM64)
#define CPUSTRING "aarch64"
#elif defined(__powerpc64__)
#elif defined(__powerpc64__) || defined(__PPC64__)
#define CPUSTRING "ppc64"
#elif defined(__mips64) || defined(__mips64_)
#define CPUSTRING "mips64"
#elif defined(__riscv) || defined(__riscv__)
#define CPUSTRING "riscv"
#elif defined(__sparc__) || defined(__sparc__)
#define CPUSTRING "sparc"
#else
#error unknown CPU
#endif