Lines Matching +full:5 +full:- +full:8

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-generic/xor.h
5 * Generic optimized RAID-5 checksumming functions.
14 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2()
22 p1[5] ^= p2[5]; in xor_8regs_2()
25 p1 += 8; in xor_8regs_2()
26 p2 += 8; in xor_8regs_2()
27 } while (--lines > 0); in xor_8regs_2()
35 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3()
43 p1[5] ^= p2[5] ^ p3[5]; in xor_8regs_3()
46 p1 += 8; in xor_8regs_3()
47 p2 += 8; in xor_8regs_3()
48 p3 += 8; in xor_8regs_3()
49 } while (--lines > 0); in xor_8regs_3()
58 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4()
66 p1[5] ^= p2[5] ^ p3[5] ^ p4[5]; in xor_8regs_4()
69 p1 += 8; in xor_8regs_4()
70 p2 += 8; in xor_8regs_4()
71 p3 += 8; in xor_8regs_4()
72 p4 += 8; in xor_8regs_4()
73 } while (--lines > 0); in xor_8regs_4()
83 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5()
91 p1[5] ^= p2[5] ^ p3[5] ^ p4[5] ^ p5[5]; in xor_8regs_5()
94 p1 += 8; in xor_8regs_5()
95 p2 += 8; in xor_8regs_5()
96 p3 += 8; in xor_8regs_5()
97 p4 += 8; in xor_8regs_5()
98 p5 += 8; in xor_8regs_5()
99 } while (--lines > 0); in xor_8regs_5()
106 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2()
115 d5 = p1[5]; in xor_32regs_2()
123 d5 ^= p2[5]; in xor_32regs_2()
131 p1[5] = d5; in xor_32regs_2()
134 p1 += 8; in xor_32regs_2()
135 p2 += 8; in xor_32regs_2()
136 } while (--lines > 0); in xor_32regs_2()
144 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_3()
153 d5 = p1[5]; in xor_32regs_3()
161 d5 ^= p2[5]; in xor_32regs_3()
169 d5 ^= p3[5]; in xor_32regs_3()
177 p1[5] = d5; in xor_32regs_3()
180 p1 += 8; in xor_32regs_3()
181 p2 += 8; in xor_32regs_3()
182 p3 += 8; in xor_32regs_3()
183 } while (--lines > 0); in xor_32regs_3()
192 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_4()
201 d5 = p1[5]; in xor_32regs_4()
209 d5 ^= p2[5]; in xor_32regs_4()
217 d5 ^= p3[5]; in xor_32regs_4()
225 d5 ^= p4[5]; in xor_32regs_4()
233 p1[5] = d5; in xor_32regs_4()
236 p1 += 8; in xor_32regs_4()
237 p2 += 8; in xor_32regs_4()
238 p3 += 8; in xor_32regs_4()
239 p4 += 8; in xor_32regs_4()
240 } while (--lines > 0); in xor_32regs_4()
250 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_5()
259 d5 = p1[5]; in xor_32regs_5()
267 d5 ^= p2[5]; in xor_32regs_5()
275 d5 ^= p3[5]; in xor_32regs_5()
283 d5 ^= p4[5]; in xor_32regs_5()
291 d5 ^= p5[5]; in xor_32regs_5()
299 p1[5] = d5; in xor_32regs_5()
302 p1 += 8; in xor_32regs_5()
303 p2 += 8; in xor_32regs_5()
304 p3 += 8; in xor_32regs_5()
305 p4 += 8; in xor_32regs_5()
306 p5 += 8; in xor_32regs_5()
307 } while (--lines > 0); in xor_32regs_5()
314 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_2()
319 prefetchw(p1+8); in xor_8regs_p_2()
320 prefetch(p2+8); in xor_8regs_p_2()
327 p1[5] ^= p2[5]; in xor_8regs_p_2()
330 p1 += 8; in xor_8regs_p_2()
331 p2 += 8; in xor_8regs_p_2()
332 } while (--lines > 0); in xor_8regs_p_2()
342 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_3()
348 prefetchw(p1+8); in xor_8regs_p_3()
349 prefetch(p2+8); in xor_8regs_p_3()
350 prefetch(p3+8); in xor_8regs_p_3()
357 p1[5] ^= p2[5] ^ p3[5]; in xor_8regs_p_3()
360 p1 += 8; in xor_8regs_p_3()
361 p2 += 8; in xor_8regs_p_3()
362 p3 += 8; in xor_8regs_p_3()
363 } while (--lines > 0); in xor_8regs_p_3()
374 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_4()
382 prefetchw(p1+8); in xor_8regs_p_4()
383 prefetch(p2+8); in xor_8regs_p_4()
384 prefetch(p3+8); in xor_8regs_p_4()
385 prefetch(p4+8); in xor_8regs_p_4()
392 p1[5] ^= p2[5] ^ p3[5] ^ p4[5]; in xor_8regs_p_4()
395 p1 += 8; in xor_8regs_p_4()
396 p2 += 8; in xor_8regs_p_4()
397 p3 += 8; in xor_8regs_p_4()
398 p4 += 8; in xor_8regs_p_4()
399 } while (--lines > 0); in xor_8regs_p_4()
411 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_5()
420 prefetchw(p1+8); in xor_8regs_p_5()
421 prefetch(p2+8); in xor_8regs_p_5()
422 prefetch(p3+8); in xor_8regs_p_5()
423 prefetch(p4+8); in xor_8regs_p_5()
424 prefetch(p5+8); in xor_8regs_p_5()
431 p1[5] ^= p2[5] ^ p3[5] ^ p4[5] ^ p5[5]; in xor_8regs_p_5()
434 p1 += 8; in xor_8regs_p_5()
435 p2 += 8; in xor_8regs_p_5()
436 p3 += 8; in xor_8regs_p_5()
437 p4 += 8; in xor_8regs_p_5()
438 p5 += 8; in xor_8regs_p_5()
439 } while (--lines > 0); in xor_8regs_p_5()
448 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_2()
456 prefetchw(p1+8); in xor_32regs_p_2()
457 prefetch(p2+8); in xor_32regs_p_2()
464 d5 = p1[5]; in xor_32regs_p_2()
472 d5 ^= p2[5]; in xor_32regs_p_2()
480 p1[5] = d5; in xor_32regs_p_2()
483 p1 += 8; in xor_32regs_p_2()
484 p2 += 8; in xor_32regs_p_2()
485 } while (--lines > 0); in xor_32regs_p_2()
495 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_3()
504 prefetchw(p1+8); in xor_32regs_p_3()
505 prefetch(p2+8); in xor_32regs_p_3()
506 prefetch(p3+8); in xor_32regs_p_3()
513 d5 = p1[5]; in xor_32regs_p_3()
521 d5 ^= p2[5]; in xor_32regs_p_3()
529 d5 ^= p3[5]; in xor_32regs_p_3()
537 p1[5] = d5; in xor_32regs_p_3()
540 p1 += 8; in xor_32regs_p_3()
541 p2 += 8; in xor_32regs_p_3()
542 p3 += 8; in xor_32regs_p_3()
543 } while (--lines > 0); in xor_32regs_p_3()
554 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_4()
564 prefetchw(p1+8); in xor_32regs_p_4()
565 prefetch(p2+8); in xor_32regs_p_4()
566 prefetch(p3+8); in xor_32regs_p_4()
567 prefetch(p4+8); in xor_32regs_p_4()
574 d5 = p1[5]; in xor_32regs_p_4()
582 d5 ^= p2[5]; in xor_32regs_p_4()
590 d5 ^= p3[5]; in xor_32regs_p_4()
598 d5 ^= p4[5]; in xor_32regs_p_4()
606 p1[5] = d5; in xor_32regs_p_4()
609 p1 += 8; in xor_32regs_p_4()
610 p2 += 8; in xor_32regs_p_4()
611 p3 += 8; in xor_32regs_p_4()
612 p4 += 8; in xor_32regs_p_4()
613 } while (--lines > 0); in xor_32regs_p_4()
625 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_5()
636 prefetchw(p1+8); in xor_32regs_p_5()
637 prefetch(p2+8); in xor_32regs_p_5()
638 prefetch(p3+8); in xor_32regs_p_5()
639 prefetch(p4+8); in xor_32regs_p_5()
640 prefetch(p5+8); in xor_32regs_p_5()
647 d5 = p1[5]; in xor_32regs_p_5()
655 d5 ^= p2[5]; in xor_32regs_p_5()
663 d5 ^= p3[5]; in xor_32regs_p_5()
671 d5 ^= p4[5]; in xor_32regs_p_5()
679 d5 ^= p5[5]; in xor_32regs_p_5()
687 p1[5] = d5; in xor_32regs_p_5()
690 p1 += 8; in xor_32regs_p_5()
691 p2 += 8; in xor_32regs_p_5()
692 p3 += 8; in xor_32regs_p_5()
693 p4 += 8; in xor_32regs_p_5()
694 p5 += 8; in xor_32regs_p_5()
695 } while (--lines > 0); in xor_32regs_p_5()
701 .name = "8regs",
717 .name = "8regs_prefetch",