View | Details | Raw Unified | Return to bug 36684
Collapse All | Expand All

(-)a/numpy/core/include/numpy/npy_cpu.h (+2 lines)
Lines 102-107 Link Here
102
    #define NPY_CPU_ARCEB
102
    #define NPY_CPU_ARCEB
103
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
103
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
104
    #define NPY_CPU_RISCV64
104
    #define NPY_CPU_RISCV64
105
#elif defined(__e2k__)
106
    #define NPY_CPU_E2K
105
#else
107
#else
106
    #error Unknown CPU, please report this to numpy maintainers with \
108
    #error Unknown CPU, please report this to numpy maintainers with \
107
    information about your platform (OS, CPU and compiler)
109
    information about your platform (OS, CPU and compiler)
(-)a/numpy/core/include/numpy/npy_endian.h (-1 / +2 lines)
Lines 47-53 Link Here
47
            || defined(NPY_CPU_MIPSEL)  \
47
            || defined(NPY_CPU_MIPSEL)  \
48
            || defined(NPY_CPU_PPC64LE) \
48
            || defined(NPY_CPU_PPC64LE) \
49
            || defined(NPY_CPU_ARCEL)   \
49
            || defined(NPY_CPU_ARCEL)   \
50
            || defined(NPY_CPU_RISCV64)
50
            || defined(NPY_CPU_RISCV64) \
51
            || defined(NPY_CPU_E2K)
51
        #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
52
        #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
52
    #elif defined(NPY_CPU_PPC)          \
53
    #elif defined(NPY_CPU_PPC)          \
53
            || defined(NPY_CPU_SPARC)   \
54
            || defined(NPY_CPU_SPARC)   \

Return to bug 36684