Lines Matching +full:2 +full:- +full:3
4 http://lists.xiph.org/pipermail/speex-dev/2010-November/008041.html.
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10 diff --git a/libspeex/filters_arm4.h b/libspeex/filters_arm4.h
12 --- a/libspeex/filters_arm4.h
14 @@ -47,8 +47,10 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le
20 "\tcmp %4, %3 \n"
22 "\tmovlt %3, %4 \n"
24 "\tsubs %2, %2, #1 \n"
25 @@ -56,6 +58,7 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le
27 "\trsb %3, %3, #0 \n"
28 "\tcmp %1, %3 \n"
30 "\tmovlt %1, %3 \n"
33 diff --git a/libspeex/fixed_arm4.h b/libspeex/fixed_arm4.h
35 --- a/libspeex/fixed_arm4.h
37 @@ -69,72 +69,90 @@ static inline short DIV32_16(int a, int b)
48 "\tsubs %3, %0, %1, asl #14 \n"
50 "\tmovpl %0, %3 \n"
51 "\torrpl %2, %2, %4, asl #14 \n"
53 "\tsubs %3, %0, %1, asl #13 \n"
55 "\tmovpl %0, %3 \n"
56 "\torrpl %2, %2, %4, asl #13 \n"
58 "\tsubs %3, %0, %1, asl #12 \n"
60 "\tmovpl %0, %3 \n"
61 "\torrpl %2, %2, %4, asl #12 \n"
63 "\tsubs %3, %0, %1, asl #11 \n"
65 "\tmovpl %0, %3 \n"
66 "\torrpl %2, %2, %4, asl #11 \n"
68 "\tsubs %3, %0, %1, asl #10 \n"
70 "\tmovpl %0, %3 \n"
71 "\torrpl %2, %2, %4, asl #10 \n"
73 "\tsubs %3, %0, %1, asl #9 \n"
75 "\tmovpl %0, %3 \n"
76 "\torrpl %2, %2, %4, asl #9 \n"
78 "\tsubs %3, %0, %1, asl #8 \n"
80 "\tmovpl %0, %3 \n"
81 "\torrpl %2, %2, %4, asl #8 \n"
83 "\tsubs %3, %0, %1, asl #7 \n"
85 "\tmovpl %0, %3 \n"
86 "\torrpl %2, %2, %4, asl #7 \n"
88 "\tsubs %3, %0, %1, asl #6 \n"
90 "\tmovpl %0, %3 \n"
91 "\torrpl %2, %2, %4, asl #6 \n"
93 "\tsubs %3, %0, %1, asl #5 \n"
95 "\tmovpl %0, %3 \n"
96 "\torrpl %2, %2, %4, asl #5 \n"
98 "\tsubs %3, %0, %1, asl #4 \n"
100 "\tmovpl %0, %3 \n"
101 "\torrpl %2, %2, %4, asl #4 \n"
103 "\tsubs %3, %0, %1, asl #3 \n"
105 "\tmovpl %0, %3 \n"
106 "\torrpl %2, %2, %4, asl #3 \n"
108 "\tsubs %3, %0, %1, asl #2 \n"
110 "\tmovpl %0, %3 \n"
111 "\torrpl %2, %2, %4, asl #2 \n"
113 "\tsubs %3, %0, %1, asl #1 \n"
115 "\tmovpl %0, %3 \n"
116 "\torrpl %2, %2, %4, asl #1 \n"
118 "\tsubs %3, %0, %1 \n"
120 "\tmovpl %0, %3 \n"
121 "\torrpl %2, %2, %4 \n"
125 "\trsbne %2, %2, #0 \n"
128 diff --git a/libspeex/fixed_arm5e.h b/libspeex/fixed_arm5e.h
130 --- a/libspeex/fixed_arm5e.h
132 @@ -97,72 +97,90 @@ static inline short DIV32_16(int a, int b)
143 "\tsubs %3, %0, %1, asl #14 \n"
145 "\torrpl %2, %2, %4, asl #14 \n"
146 "\tmovpl %0, %3 \n"
148 "\tsubs %3, %0, %1, asl #13 \n"
150 "\torrpl %2, %2, %4, asl #13 \n"
151 "\tmovpl %0, %3 \n"
153 "\tsubs %3, %0, %1, asl #12 \n"
155 "\torrpl %2, %2, %4, asl #12 \n"
156 "\tmovpl %0, %3 \n"
158 "\tsubs %3, %0, %1, asl #11 \n"
160 "\torrpl %2, %2, %4, asl #11 \n"
161 "\tmovpl %0, %3 \n"
163 "\tsubs %3, %0, %1, asl #10 \n"
165 "\torrpl %2, %2, %4, asl #10 \n"
166 "\tmovpl %0, %3 \n"
168 "\tsubs %3, %0, %1, asl #9 \n"
170 "\torrpl %2, %2, %4, asl #9 \n"
171 "\tmovpl %0, %3 \n"
173 "\tsubs %3, %0, %1, asl #8 \n"
175 "\torrpl %2, %2, %4, asl #8 \n"
176 "\tmovpl %0, %3 \n"
178 "\tsubs %3, %0, %1, asl #7 \n"
180 "\torrpl %2, %2, %4, asl #7 \n"
181 "\tmovpl %0, %3 \n"
183 "\tsubs %3, %0, %1, asl #6 \n"
185 "\torrpl %2, %2, %4, asl #6 \n"
186 "\tmovpl %0, %3 \n"
188 "\tsubs %3, %0, %1, asl #5 \n"
190 "\torrpl %2, %2, %4, asl #5 \n"
191 "\tmovpl %0, %3 \n"
193 "\tsubs %3, %0, %1, asl #4 \n"
195 "\torrpl %2, %2, %4, asl #4 \n"
196 "\tmovpl %0, %3 \n"
198 "\tsubs %3, %0, %1, asl #3 \n"
200 "\torrpl %2, %2, %4, asl #3 \n"
201 "\tmovpl %0, %3 \n"
203 "\tsubs %3, %0, %1, asl #2 \n"
205 "\torrpl %2, %2, %4, asl #2 \n"
206 "\tmovpl %0, %3 \n"
208 "\tsubs %3, %0, %1, asl #1 \n"
210 "\torrpl %2, %2, %4, asl #1 \n"
211 "\tmovpl %0, %3 \n"
213 "\tsubs %3, %0, %1 \n"
215 "\torrpl %2, %2, %4 \n"
216 "\tmovpl %0, %3 \n"
220 "\trsbne %2, %2, #0 \n"