View | Details | Raw Unified
Collapse All | Expand All

(-) src/ptlib/common/jidctflt.cxx.orig (-2 / +2 lines)
Line     Link Here 
 can't be an immediate.
 can't be an immediate.
 or introduce matching suffixes for operands of different sizes. Easiest fix is to change all
 or introduce matching suffixes for operands of different sizes. Easiest fix is to change all
 input operands to unsigned long.
 input operands to unsigned long.
 Lines 89-98    Link Here 
      "\tsar %2,%1\n"
      "\tsar %2,%1\n"
      "\tsub $-128,%1\n"
      "\tsub $-128,%1\n"
      "\tcmovl %5,%1\n"	/* Use the sub to compare to 0 */
      "\tcmovl %5,%1\n"	/* Use the sub to compare to 0 */
      "\tcmpl %4,%1\n" 
      "\tcmp %4,%1\n" 
      "\tcmovg %4,%1\n"
      "\tcmovg %4,%1\n"
      : "=r"(x) 
      : "=r"(x) 
      : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
      : "0"((unsigned long)x), "c"((char)shift), "ir"(1UL<<(shift-1)), "r" (0xffUL), "r" (0UL)
      );
      );
  return x;
  return x;
}
}