diff options
| author | Jim Kukunas <james.t.kukunas@linux.intel.com> | 2013-07-17 10:38:54 -0700 |
|---|---|---|
| committer | Jim Kukunas <james.t.kukunas@linux.intel.com> | 2014-06-03 15:37:51 -0700 |
| commit | fd80ca4fb96b8bdeb4e7f9ec863ebc34a9303968 (patch) | |
| tree | c364316f171eb9d508d2144ee2f753beea6962d2 /configure | |
| parent | 2c2709195d37d2fbf1ab0437fdebc04b9fc86c3c (diff) | |
| download | Project-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-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
