Lines Matching +full:3 +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()
20 p1[3] ^= p2[3]; 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()
41 p1[3] ^= p2[3] ^ p3[3]; 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()
64 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; 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()
89 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; 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()
113 d3 = p1[3]; in xor_32regs_2()
121 d3 ^= p2[3]; in xor_32regs_2()
129 p1[3] = d3; 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()
151 d3 = p1[3]; in xor_32regs_3()
159 d3 ^= p2[3]; in xor_32regs_3()
167 d3 ^= p3[3]; in xor_32regs_3()
175 p1[3] = d3; 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()
199 d3 = p1[3]; in xor_32regs_4()
207 d3 ^= p2[3]; in xor_32regs_4()
215 d3 ^= p3[3]; in xor_32regs_4()
223 d3 ^= p4[3]; in xor_32regs_4()
231 p1[3] = d3; 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()
257 d3 = p1[3]; in xor_32regs_5()
265 d3 ^= p2[3]; in xor_32regs_5()
273 d3 ^= p3[3]; in xor_32regs_5()
281 d3 ^= p4[3]; in xor_32regs_5()
289 d3 ^= p5[3]; in xor_32regs_5()
297 p1[3] = d3; 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()
325 p1[3] ^= p2[3]; 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()
355 p1[3] ^= p2[3] ^ p3[3]; 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()
390 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; 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()
429 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; 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()
462 d3 = p1[3]; in xor_32regs_p_2()
470 d3 ^= p2[3]; in xor_32regs_p_2()
478 p1[3] = d3; 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()
511 d3 = p1[3]; in xor_32regs_p_3()
519 d3 ^= p2[3]; in xor_32regs_p_3()
527 d3 ^= p3[3]; in xor_32regs_p_3()
535 p1[3] = d3; 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()
572 d3 = p1[3]; in xor_32regs_p_4()
580 d3 ^= p2[3]; in xor_32regs_p_4()
588 d3 ^= p3[3]; in xor_32regs_p_4()
596 d3 ^= p4[3]; in xor_32regs_p_4()
604 p1[3] = d3; 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()
645 d3 = p1[3]; in xor_32regs_p_5()
653 d3 ^= p2[3]; in xor_32regs_p_5()
661 d3 ^= p3[3]; in xor_32regs_p_5()
669 d3 ^= p4[3]; in xor_32regs_p_5()
677 d3 ^= p5[3]; in xor_32regs_p_5()
685 p1[3] = d3; 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",