Unbreak i686+ builds. Do not use bogus asm optimized code block.

PR:	95400
This commit is contained in:
Alexander Nedotsukov 2006-04-11 03:13:26 +00:00
parent 40b33e8f04
commit b384f1a3db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159305

View File

@ -1,11 +1,12 @@
--- src/ptlib/common/jidctflt.cxx.orig Wed Apr 5 07:08:00 2006
+++ src/ptlib/common/jidctflt.cxx Wed Apr 5 07:08:08 2006
@@ -80,7 +80,7 @@
@@ -80,7 +80,8 @@
#define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval))
-#if defined(__GNUC__) && (defined(__i686__) || defined(__x86_64__))
+#if defined(__GNUC__) && defined(__i686__)
+/* asm doesn't compile properly... avoid using */
+#if 0
static inline unsigned char descale_and_clamp(int x, int shift)
{