[Pixman] [PATCH 5/9] MIPS: DSPr2: Fix for bug in in_n_8 routine.

2013-04-15 Thread Nemanja Lukic
Rounding logic was not implemented right. Instead of using rounding version of the 8-bit shift, logical shifts were used. Also, code used unnecessary multiplications, which could be avoided by packing 4 destination (a8) pixel into one 32bit register. There were also, unnecessary spills on stack.

[Pixman] [PATCH 5/9] MIPS: DSPr2: Fix for bug in in_n_8 routine.

2013-03-16 Thread Nemanja Lukic
Rounding logic was not implemented right. Instead of using rounding version of the 8-bit shift, logical shifts were used. Also, code used unnecessary multiplications, which could be avoided by packing 4 destination (a8) pixel into one 32bit register. There were also, unnecessary spills on stack.