1 --- FreeImage/Source/LibWebP/src/dsp/dsp.upsampling_mips_dsp_r2.c.orig 2015-02-20 03:34:36.000000000 +0100
2 +++ FreeImage/Source/LibWebP/src/dsp/dsp.upsampling_mips_dsp_r2.c 2016-05-23 15:13:46.386879788 +0200
4 G = G - t2 + kGCst; \
\r
7 - "shll_s.w %["#R"], %["#R"], 9 \n\t" \
\r
8 - "shll_s.w %["#G"], %["#G"], 9 \n\t" \
\r
9 - "shll_s.w %["#B"], %["#B"], 9 \n\t" \
\r
10 - "precrqu_s.qb.ph %["#R"], %["#R"], $zero \n\t" \
\r
11 - "precrqu_s.qb.ph %["#G"], %["#G"], $zero \n\t" \
\r
12 - "precrqu_s.qb.ph %["#B"], %["#B"], $zero \n\t" \
\r
13 - "srl %["#R"], %["#R"], 24 \n\t" \
\r
14 - "srl %["#G"], %["#G"], 24 \n\t" \
\r
15 - "srl %["#B"], %["#B"], 24 \n\t" \
\r
16 + "shll_s.w %[" #R "], %[" #R "], 9 \n\t" \
\r
17 + "shll_s.w %[" #G "], %[" #G "], 9 \n\t" \
\r
18 + "shll_s.w %[" #B "], %[" #B "], 9 \n\t" \
\r
19 + "precrqu_s.qb.ph %[" #R "], %[" #R "], $zero \n\t" \
\r
20 + "precrqu_s.qb.ph %[" #G "], %[" #G "], $zero \n\t" \
\r
21 + "precrqu_s.qb.ph %[" #B "], %[" #B "], $zero \n\t" \
\r
22 + "srl %[" #R "], %[" #R "], 24 \n\t" \
\r
23 + "srl %[" #G "], %[" #G "], 24 \n\t" \
\r
24 + "srl %[" #B "], %[" #B "], 24 \n\t" \
\r
25 : [R]"+r"(R), [G]"+r"(G), [B]"+r"(B) \
\r
28 --- FreeImage/Source/LibWebP/src/dsp/dsp.yuv_mips_dsp_r2.c.orig 2015-02-20 03:34:38.000000000 +0100
29 +++ FreeImage/Source/LibWebP/src/dsp/dsp.yuv_mips_dsp_r2.c 2016-05-23 15:15:34.452490572 +0200
31 "srl %[temp5], %[temp5], 24 \n\t" \
\r
32 "srl %[temp6], %[temp6], 24 \n\t" \
\r
33 "srl %[temp7], %[temp7], 24 \n\t" \
\r
34 - "sb %[temp5], "#R"(%[dst]) \n\t" \
\r
35 - "sb %[temp6], "#G"(%[dst]) \n\t" \
\r
36 - "sb %[temp7], "#B"(%[dst]) \n\t" \
\r
37 + "sb %[temp5], " #R "(%[dst]) \n\t" \
\r
38 + "sb %[temp6], " #G "(%[dst]) \n\t" \
\r
39 + "sb %[temp7], " #B "(%[dst]) \n\t" \
\r
41 #define ASM_CLOBBER_LIST() \
\r
42 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2), \
\r