Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 788d4bc

Browse files
committed
Merge pull request #2911 from certik/backport2901
Backport 2901
2 parents 4e179f0 + 3fe7bf0 commit 788d4bc

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

doc/release/1.7.0-notes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ New argument to searchsorted
154154
The function searchsorted now accepts a 'sorter' argument that is a
155155
permutation array that sorts the array to search.
156156

157+
Build system
158+
------------
159+
160+
Added experimental support for the AArch64 architecture.
161+
157162
C API
158163
-----
159164

numpy/core/include/numpy/npy_cpu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
#define NPY_CPU_MIPSEL
6767
#elif defined(__MIPSEB__)
6868
#define NPY_CPU_MIPSEB
69+
#elif defined(__aarch64__)
70+
#define NPY_CPU_AARCH64
6971
#else
7072
#error Unknown CPU, please report this to numpy maintainers with \
7173
information about your platform (OS, CPU and compiler)

numpy/core/include/numpy/npy_endian.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
|| defined(NPY_CPU_IA64) \
2626
|| defined(NPY_CPU_ALPHA) \
2727
|| defined(NPY_CPU_ARMEL) \
28+
|| defined(NPY_CPU_AARCH64) \
2829
|| defined(NPY_CPU_SH_LE) \
2930
|| defined(NPY_CPU_MIPSEL)
3031
#define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN

0 commit comments

Comments
 (0)