diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2017-06-28 22:43:15 -0400 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2018-09-27 15:43:54 -0400 |
commit | 8097aa32323228089e8fa942f34a62d55e4c2abe (patch) | |
tree | 694cfa83ac1d2b3564d65c317be701f4c11151b9 /numpy/core/src/common | |
parent | 1252b80c8183c281a6fd790d620db23e57291ade (diff) | |
download | numpy-8097aa32323228089e8fa942f34a62d55e4c2abe.tar.gz |
ENH: Fix complex64 alignment
Diffstat (limited to 'numpy/core/src/common')
-rw-r--r-- | numpy/core/src/common/npy_config.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/numpy/core/src/common/npy_config.h b/numpy/core/src/common/npy_config.h index 8143e7719..673ea1d94 100644 --- a/numpy/core/src/common/npy_config.h +++ b/numpy/core/src/common/npy_config.h @@ -6,22 +6,6 @@ #include "numpy/npy_cpu.h" #include "numpy/npy_os.h" -/* - * largest alignment the copy loops might require - * required as string, void and complex types might get copied using larger - * instructions than required to operate on them. E.g. complex float is copied - * in 8 byte moves but arithmetic on them only loads in 4 byte moves. - * the sparc platform may need that alignment for long doubles. - * amd64 is not harmed much by the bloat as the system provides 16 byte - * alignment by default. - */ -#if (defined NPY_CPU_X86 || defined _WIN32 || defined NPY_CPU_ARMEL_AARCH32 ||\ - defined NPY_CPU_ARMEB_AARCH32) -#define NPY_MAX_COPY_ALIGNMENT 8 -#else -#define NPY_MAX_COPY_ALIGNMENT 16 -#endif - /* blacklist */ /* Disable broken Sun Workshop Pro math functions */ |