Lines Matching +full:1 +full:f
35 bgeu sum, val, 99f ; \
36 addi sum, sum, 1 ; \
48 bnez a5, 8f /* branch if 2-byte aligned */
50 1:
53 loopgtz a5, 2f
55 beqz a5, 2f
83 loopgtz a5, 3f
85 beqz a5, 3f
97 _bbci.l a3, 1, 5f /* remaining 2-byte chunk */
102 _bbci.l a3, 0, 7f /* remaining 1-byte chunk */
115 beqi a3, 1, 6b /* branch if len == 1 */
117 extui a5, a2, 0, 1
118 bnez a5, 8f /* branch if 1-byte aligned */
124 j 1b /* now buf is 4-byte aligned */
126 /* case: odd-byte aligned, len > 1
133 loopgtz a5, 2f
135 beqz a5, 2f
141 l16ui a7, a2, 1 /* bits 8..23 */
157 _bbci.l a3, 1, 3f /* remaining 2-byte chunk, still odd addr */
159 l8ui a7, a2, 1
195 movi a5, -1
206 beqz a9, 1f /* branch if both are 4-byte aligned */
207 bbsi.l a10, 0, 5f /* branch if one address is odd */
208 j 3f /* one address is 2-byte aligned */
210 /* _bbsi.l a10, 0, 5f */ /* branch if odd address */
211 /* _bbsi.l a10, 1, 3f */ /* branch if 2-byte-aligned address */
213 1:
217 loopgtz a10, 2f
219 beqz a10, 2f
224 EX(10f) l32i a9, a2, 0
225 EX(10f) l32i a8, a2, 4
226 EX(10f) s32i a9, a3, 0
227 EX(10f) s32i a8, a3, 4
230 EX(10f) l32i a9, a2, 8
231 EX(10f) l32i a8, a2, 12
232 EX(10f) s32i a9, a3, 8
233 EX(10f) s32i a8, a3, 12
236 EX(10f) l32i a9, a2, 16
237 EX(10f) l32i a8, a2, 20
238 EX(10f) s32i a9, a3, 16
239 EX(10f) s32i a8, a3, 20
242 EX(10f) l32i a9, a2, 24
243 EX(10f) l32i a8, a2, 28
244 EX(10f) s32i a9, a3, 24
245 EX(10f) s32i a8, a3, 28
257 loopgtz a10, 3f
259 beqz a10, 3f
264 EX(10f) l32i a9, a2, 0
265 EX(10f) s32i a9, a3, 0
274 Control comes to here in two cases: (1) It may fall through
286 srli a10, a4, 1 /* 2-byte chunks */
288 loopgtz a10, 4f
290 beqz a10, 4f
291 slli a10, a10, 1
295 EX(10f) l16ui a9, a2, 0
296 EX(10f) s16i a9, a3, 0
305 _bbci.l a4, 0, 8f /* 1-byte chunk */
306 EX(10f) l8ui a9, a2, 0
307 EX(10f) s8i a9, a3, 0
321 srli a10, a4, 1 /* handle in pairs for 16-bit csum */
323 loopgtz a10, 6f
325 beqz a10, 6f
326 slli a10, a10, 1
330 EX(10f) l8ui a9, a2, 0
331 EX(10f) l8ui a8, a2, 1
332 EX(10f) s8i a9, a3, 0
333 EX(10f) s8i a8, a3, 1