View | Details | Raw Unified | Return to bug 95400
Collapse All | Expand All

(-)src/ptlib/common/jidctflt.cxx (-2 / +2 lines)
Lines 86-98 Link Here
86
{
86
{
87
  __asm__ (
87
  __asm__ (
88
      "add %3,%1\n"
88
      "add %3,%1\n"
89
      "\tsar %2,%1\n"
89
      "\tsar %%cl,%1\n"
90
      "\tsub $-128,%1\n"
90
      "\tsub $-128,%1\n"
91
      "\tcmovl %5,%1\n"	/* Use the sub to compare to 0 */
91
      "\tcmovl %5,%1\n"	/* Use the sub to compare to 0 */
92
      "\tcmpl %4,%1\n" 
92
      "\tcmpl %4,%1\n" 
93
      "\tcmovg %4,%1\n"
93
      "\tcmovg %4,%1\n"
94
      : "=r"(x) 
94
      : "=r"(x) 
95
      : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
95
      : "0"(x), "Ic"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0)
96
      );
96
      );
97
  return x;
97
  return x;
98
}
98
}

Return to bug 95400