aboutsummaryrefslogtreecommitdiff
path: root/jmorecfg.h
diff options
context:
space:
mode:
authorossman_ <ossman_@632fc199-4ca6-4c93-a231-07263d6284db>2009-03-09 13:25:30 +0000
committerossman_ <ossman_@632fc199-4ca6-4c93-a231-07263d6284db>2009-03-09 13:25:30 +0000
commit65984f5ac9933a1fc74c22da22671156f9b9de15 (patch)
tree809d3bf09560d2e99d61f190ea2d16e6d3122b13 /jmorecfg.h
parentddd9d54d5e181e76197c787220f3bc46e206deba (diff)
Add MMX SIMD implementation of computationally intensive routines.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@17 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jmorecfg.h')
-rw-r--r--jmorecfg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/jmorecfg.h b/jmorecfg.h
index 69d4fe0..18670ec 100644
--- a/jmorecfg.h
+++ b/jmorecfg.h
@@ -325,7 +325,11 @@ typedef int boolean;
*/
#ifndef MULTIPLIER
+#ifndef WITH_SIMD
#define MULTIPLIER int /* type for fastest integer multiply */
+#else
+#define MULTIPLIER short /* prefer 16-bit with SIMD for parellelism */
+#endif
#endif