summaryrefslogtreecommitdiff
path: root/trunk/jmorecfg.h
diff options
context:
space:
mode:
authorossman_ <ossman_@3789f03b-4d11-0410-bbf8-ca57d06f2519>2009-03-09 13:25:30 +0000
committerossman_ <ossman_@3789f03b-4d11-0410-bbf8-ca57d06f2519>2009-03-09 13:25:30 +0000
commitd3579ac3091ff4fbef0d032db35ebe444758ae95 (patch)
tree96fb0edaa744f642d7793e5c85b6530298f360cb /trunk/jmorecfg.h
parent8189143f749df47224e504fde0d3a41257cc6261 (diff)
Add MMX SIMD implementation of computationally intensive routines.
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@17 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/jmorecfg.h')
-rw-r--r--trunk/jmorecfg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/trunk/jmorecfg.h b/trunk/jmorecfg.h
index 69d4fe0..18670ec 100644
--- a/trunk/jmorecfg.h
+++ b/trunk/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