# HG changeset patch # User gpoirier # Date 1161366799 0 # Node ID 2c79a8281cb69aa472c3891e211a2b1a0683842e # Parent 8c1a5ed03a002f491598a2da93b31917e4e62220 Protect code that uses CMOV instructions with HAVE_CMOV, Make configure set CMOV_IS_FAST on arches on which cmov has a low latency (typically non-Netburst based processor) diff -r 8c1a5ed03a00 -r 2c79a8281cb6 cabac.h --- a/cabac.h Fri Oct 20 10:00:28 2006 +0000 +++ b/cabac.h Fri Oct 20 17:53:19 2006 +0000 @@ -32,7 +32,6 @@ #define CABAC_BITS 16 #define CABAC_MASK ((1<= 686) +#if defined CMOV_IS_FAST #define BRANCHLESS_GET_CABAC_UPDATE(ret, cabac, statep, low, lowword, range, tmp, tmpbyte)\ "mov "tmp" , %%ecx \n\t"\ "shl $17 , "tmp" \n\t"\