ALT Linux Bugzilla
– Attachment 8115 Details for
Bug 36684
Поддержка e2k
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
e2k-arch.patch
e2k-arch.patch (text/plain), 1.12 KB, created by
Andrew Savchenko
on 2019-04-26 17:34:26 MSK
(
hide
)
Description:
e2k-arch.patch
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2019-04-26 17:34:26 MSK
Size:
1.12 KB
patch
obsolete
>diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h >index 5edd8f4..698b83d 100644 >--- a/numpy/core/include/numpy/npy_cpu.h >+++ b/numpy/core/include/numpy/npy_cpu.h >@@ -102,6 +102,8 @@ > #define NPY_CPU_ARCEB > #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 > #define NPY_CPU_RISCV64 >+#elif defined(__e2k__) >+ #define NPY_CPU_E2K > #else > #error Unknown CPU, please report this to numpy maintainers with \ > information about your platform (OS, CPU and compiler) >diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h >index 649bdb0..5314683 100644 >--- a/numpy/core/include/numpy/npy_endian.h >+++ b/numpy/core/include/numpy/npy_endian.h >@@ -47,7 +47,8 @@ > || defined(NPY_CPU_MIPSEL) \ > || defined(NPY_CPU_PPC64LE) \ > || defined(NPY_CPU_ARCEL) \ >- || defined(NPY_CPU_RISCV64) >+ || defined(NPY_CPU_RISCV64) \ >+ || defined(NPY_CPU_E2K) > #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN > #elif defined(NPY_CPU_PPC) \ > || defined(NPY_CPU_SPARC) \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36684
: 8115 |
8116