]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Preparation for POWER optimizations
authorMatheus Castanho <msc@linux.ibm.com>
Mon, 25 May 2020 21:10:29 +0000 (18:10 -0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 8 Jun 2020 12:47:17 +0000 (14:47 +0200)
commitb81f4ee96dcbdf1db34b00727b6f1829a2ba1edb
tree19f67906f91f84ff477da4d416500ad92deea238
parent0ebe2fafdda0470d0a11aa0e5b84f8b6c500d584
Preparation for POWER optimizations

Add the scaffolding for future optimizations for POWER processors. Now
the build is capable of correctly detecting multiple processor
sub-architectures (ppc, ppc64 and ppc64le) and also if features
needed for the optimizations are available during build and runtime.

With these changes, adding a new optimized function for POWER should be
as simple as adding a new file under arch/power/, appending build
instructions to the build files and editing functable.c accordingly.

The UNALIGNED_OK flag is now also added by default for powerpc64le
targets.
.gitignore
CMakeLists.txt
README.md
arch/power/Makefile.in [new file with mode: 0644]
arch/power/power.c [new file with mode: 0644]
arch/power/power.h [new file with mode: 0644]
cmake/detect-arch.c
cmake/detect-arch.cmake
configure
functable.c
zutil.h