aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/jpeg-6b/jcdctmgr.c
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-01 15:45:39 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-01 15:45:39 +0100
commit35244064bbb2a853fb5c08898e8a74a7ec489aaa (patch)
treee9b7ccb8b46174301ccf106807ea2fcd640350e5 /test/monniaux/jpeg-6b/jcdctmgr.c
parent8ae9063a94fbf3756bb2b1d596f35b81e3e608eb (diff)
downloadcompcert-kvx-35244064bbb2a853fb5c08898e8a74a7ec489aaa.tar.gz
compcert-kvx-35244064bbb2a853fb5c08898e8a74a7ec489aaa.zip
block tail calls etc.
Diffstat (limited to 'test/monniaux/jpeg-6b/jcdctmgr.c')
-rw-r--r--test/monniaux/jpeg-6b/jcdctmgr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/monniaux/jpeg-6b/jcdctmgr.c b/test/monniaux/jpeg-6b/jcdctmgr.c
index 658a674e..61fa79b9 100644
--- a/test/monniaux/jpeg-6b/jcdctmgr.c
+++ b/test/monniaux/jpeg-6b/jcdctmgr.c
@@ -243,15 +243,11 @@ forward_DCT (j_compress_ptr cinfo, jpeg_component_info * compptr,
* for a < b to discover whether a/b is 0.
* If your machine's division is fast enough, define FAST_DIVIDE.
*/
-#ifdef NO_32BIT_DIVISION
-#define DIVIDE_BY(a,b) a = (long long) a / b
-#else
#ifdef FAST_DIVIDE
#define DIVIDE_BY(a,b) a /= b
#else
#define DIVIDE_BY(a,b) if (a >= b) a /= b; else a = 0
#endif
-#endif
if (temp < 0) {
temp = -temp;
temp += qval>>1; /* for rounding */