summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJim Kukunas <james.t.kukunas@linux.intel.com>2013-07-17 10:38:54 -0700
committerJim Kukunas <james.t.kukunas@linux.intel.com>2014-06-03 15:37:51 -0700
commitfd80ca4fb96b8bdeb4e7f9ec863ebc34a9303968 (patch)
treec364316f171eb9d508d2144ee2f753beea6962d2 /configure
parent2c2709195d37d2fbf1ab0437fdebc04b9fc86c3c (diff)
downloadProject-Tick-fd80ca4fb96b8bdeb4e7f9ec863ebc34a9303968.tar.gz
Project-Tick-fd80ca4fb96b8bdeb4e7f9ec863ebc34a9303968.zip
Add preprocessor define to tune crc32 unrolling.
Adds a preprocessor define, CRC32_UNROLL_LESS, to reduce unrolling factor from 8 to 4 for the crc32 calculation. Updates configure script to set as default on x86
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index d6f790bae7..ff66ab32e5 100755
--- a/configure
+++ b/configure
@@ -772,8 +772,8 @@ case "${ARCH}" in
CFLAGS="${CFLAGS} -DUNALIGNED_OK"
SFLAGS="${SFLAGS} -DUNALIGNED_OK"
- CFLAGS="${CFLAGS} -DADLER32_UNROLL_LESS"
- SFLAGS="${SFLAGS} -DADLER32_UNROLL_LESS"
+ CFLAGS="${CFLAGS} -DADLER32_UNROLL_LESS -DCRC32_UNROLL_LESS"
+ SFLAGS="${SFLAGS} -DADLER32_UNROLL_LESS -DCRC32_UNROLL_LESS"
;;
i386 | i486 | i586 | i686)
OBJC="${OBJC} x86.o"
@@ -785,8 +785,8 @@ case "${ARCH}" in
CFLAGS="${CFLAGS} -DUNALIGNED_OK"
SFLAGS="${SFLAGS} -DUNALIGNED_OK"
- CFLAGS="${CFLAGS} -DADLER32_UNROLL_LESS"
- SFLAGS="${SFLAGS} -DADLER32_UNROLL_LESS"
+ CFLAGS="${CFLAGS} -DADLER32_UNROLL_LESS -DCRC32_UNROLL_LESS"
+ SFLAGS="${SFLAGS} -DADLER32_UNROLL_LESS -DCRC32_UNROLL_LESS"
;;
esac