diff -Naur numpy-1.21.4.org/numpy/core/include/numpy/npy_cpu.h numpy-1.21.4.sw/numpy/core/include/numpy/npy_cpu.h
--- numpy-1.21.4.org/numpy/core/include/numpy/npy_cpu.h	2022-02-27 02:48:27.080000000 +0000
+++ numpy-1.21.4.sw/numpy/core/include/numpy/npy_cpu.h	2022-02-28 06:42:23.070000000 +0000
@@ -61,6 +61,8 @@
     #define NPY_CPU_IA64
 #elif defined(__hppa)
     #define NPY_CPU_HPPA
+#elif defined(__sw_64__)
+    #define NPY_CPU_SW_64
 #elif defined(__alpha__)
     #define NPY_CPU_ALPHA
 #elif defined(__arm__) || defined(__aarch64__) || defined(_M_ARM64)
diff -Naur numpy-1.21.4.org/numpy/core/include/numpy/npy_endian.h numpy-1.21.4.sw/numpy/core/include/numpy/npy_endian.h
--- numpy-1.21.4.org/numpy/core/include/numpy/npy_endian.h	2022-02-27 02:48:27.080000000 +0000
+++ numpy-1.21.4.sw/numpy/core/include/numpy/npy_endian.h	2022-02-28 06:44:18.830000000 +0000
@@ -41,6 +41,7 @@
             || defined(NPY_CPU_AMD64)         \
             || defined(NPY_CPU_IA64)          \
             || defined(NPY_CPU_ALPHA)         \
+            || defined(NPY_CPU_SW_64)         \
             || defined(NPY_CPU_ARMEL)         \
             || defined(NPY_CPU_ARMEL_AARCH32) \
             || defined(NPY_CPU_ARMEL_AARCH64) \
