From 641998c3e1ecc8b598fe0eb051fab8b9535c291b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 24 Mar 2008 16:38:40 +0200 Subject: Replaced the range decoder optimization that used arithmetic right shift with as fast version that doesn't need arithmetic right shift. Removed the related check from configure.ac. --- m4/ax_c_arithmetic_rshift.m4 | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 m4/ax_c_arithmetic_rshift.m4 (limited to 'm4') diff --git a/m4/ax_c_arithmetic_rshift.m4 b/m4/ax_c_arithmetic_rshift.m4 deleted file mode 100644 index 3c183445..00000000 --- a/m4/ax_c_arithmetic_rshift.m4 +++ /dev/null @@ -1,36 +0,0 @@ -##### http://autoconf-archive.cryp.to/ax_c_arithmetic_rshift.html -# -# SYNOPSIS -# -# AX_C_ARITHMETIC_RSHIFT -# -# DESCRIPTION -# -# Checks if the right shift operation is arithmetic. -# -# This macro uses compile-time detection and so is cross-compile -# ready. -# -# LAST MODIFICATION -# -# 2006-12-12 -# -# COPYLEFT -# -# Copyright (c) 2006 YAMAMOTO Kengo -# -# Copying and distribution of this file, with or without -# modification, are permitted in any medium without royalty provided -# the copyright notice and this notice are preserved. - -AC_DEFUN([AX_C_ARITHMETIC_RSHIFT], [ - AC_CACHE_CHECK([whether right shift operation is arithmetic], - [ax_cv_c_arithmetic_rshift], - [AC_COMPILE_IFELSE([[int dummy[((-1 >> 1) < 0) ? 1 : -1];]], - [ax_cv_c_arithmetic_rshift=yes], - [ax_cv_c_arithmetic_rshift=no])]) - if test "x$ax_cv_c_arithmetic_rshift" = xyes; then - AC_DEFINE([HAVE_ARITHMETIC_RSHIFT], [1], - [Define to 1 if the right shift operation is arithmetic.]) - fi -]) -- cgit v1.2.3