summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatheus Castanho <msc@linux.ibm.com>2020-05-27 10:06:09 -0300
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-06-08 14:47:17 +0200
commit3fbfd99cf665e23e879c3d9c2d9bd8e0a9cae87a (patch)
tree9316ce6c190ebec904d0f22687e847540ce27d49 /configure
parentb81f4ee96dcbdf1db34b00727b6f1829a2ba1edb (diff)
Add optimized slide_hash for POWER processors
This commit introduces a new slide_hash function that uses VSX vector instructions to slide 8 hash elements at a time, instead of just one as the standard code does.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 5004c54..4928c34 100755
--- a/configure
+++ b/configure
@@ -1372,8 +1372,8 @@ case "${ARCH}" in
if test $without_optimizations -eq 0; then
if test $HAVE_POWER8 -eq 1; then
- ARCH_STATIC_OBJS="${ARCH_STATIC_OBJS} power.o"
- ARCH_SHARED_OBJS="${ARCH_SHARED_OBJS} power.lo"
+ ARCH_STATIC_OBJS="${ARCH_STATIC_OBJS} power.o slide_hash_power8.o"
+ ARCH_SHARED_OBJS="${ARCH_SHARED_OBJS} power.lo slide_hash_power8.lo"
POWERFLAGS="-DPOWER_FEATURES -DPOWER8"
fi
fi