• Home
  • Raw
  • Download

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.
13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2()
21 p1[5] ^= p2[5]; in xor_8regs_2()
24 p1 += 8; in xor_8regs_2()
25 p2 += 8; in xor_8regs_2()
26 } while (--lines > 0); in xor_8regs_2()
33 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3()
41 p1[5] ^= p2[5] ^ p3[5]; in xor_8regs_3()
44 p1 += 8; in xor_8regs_3()
45 p2 += 8; in xor_8regs_3()
46 p3 += 8; in xor_8regs_3()
47 } while (--lines > 0); in xor_8regs_3()
54 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4()
62 p1[5] ^= p2[5] ^ p3[5] ^ p4[5]; in xor_8regs_4()
65 p1 += 8; in xor_8regs_4()
66 p2 += 8; in xor_8regs_4()
67 p3 += 8; in xor_8regs_4()
68 p4 += 8; in xor_8regs_4()
69 } while (--lines > 0); in xor_8regs_4()
76 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5()
84 p1[5] ^= p2[5] ^ p3[5] ^ p4[5] ^ p5[5]; in xor_8regs_5()
87 p1 += 8; in xor_8regs_5()
88 p2 += 8; in xor_8regs_5()
89 p3 += 8; in xor_8regs_5()
90 p4 += 8; in xor_8regs_5()
91 p5 += 8; in xor_8regs_5()
92 } while (--lines > 0); in xor_8regs_5()
98 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2()
107 d5 = p1[5]; in xor_32regs_2()
115 d5 ^= p2[5]; in xor_32regs_2()
123 p1[5] = d5; in xor_32regs_2()
126 p1 += 8; in xor_32regs_2()
127 p2 += 8; in xor_32regs_2()
128 } while (--lines > 0); in xor_32regs_2()
135 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_3()
144 d5 = p1[5]; in xor_32regs_3()
152 d5 ^= p2[5]; in xor_32regs_3()
160 d5 ^= p3[5]; in xor_32regs_3()
168 p1[5] = d5; in xor_32regs_3()
171 p1 += 8; in xor_32regs_3()
172 p2 += 8; in xor_32regs_3()
173 p3 += 8; in xor_32regs_3()
174 } while (--lines > 0); in xor_32regs_3()
181 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_4()
190 d5 = p1[5]; in xor_32regs_4()
198 d5 ^= p2[5]; in xor_32regs_4()
206 d5 ^= p3[5]; in xor_32regs_4()
214 d5 ^= p4[5]; in xor_32regs_4()
222 p1[5] = d5; in xor_32regs_4()
225 p1 += 8; in xor_32regs_4()
226 p2 += 8; in xor_32regs_4()
227 p3 += 8; in xor_32regs_4()
228 p4 += 8; in xor_32regs_4()
229 } while (--lines > 0); in xor_32regs_4()
236 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_5()
245 d5 = p1[5]; in xor_32regs_5()
253 d5 ^= p2[5]; in xor_32regs_5()
261 d5 ^= p3[5]; in xor_32regs_5()
269 d5 ^= p4[5]; in xor_32regs_5()
277 d5 ^= p5[5]; in xor_32regs_5()
285 p1[5] = d5; in xor_32regs_5()
288 p1 += 8; in xor_32regs_5()
289 p2 += 8; in xor_32regs_5()
290 p3 += 8; in xor_32regs_5()
291 p4 += 8; in xor_32regs_5()
292 p5 += 8; in xor_32regs_5()
293 } while (--lines > 0); in xor_32regs_5()
299 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_2()
304 prefetchw(p1+8); in xor_8regs_p_2()
305 prefetch(p2+8); in xor_8regs_p_2()
312 p1[5] ^= p2[5]; in xor_8regs_p_2()
315 p1 += 8; in xor_8regs_p_2()
316 p2 += 8; in xor_8regs_p_2()
317 } while (--lines > 0); in xor_8regs_p_2()
326 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_3()
332 prefetchw(p1+8); in xor_8regs_p_3()
333 prefetch(p2+8); in xor_8regs_p_3()
334 prefetch(p3+8); in xor_8regs_p_3()
341 p1[5] ^= p2[5] ^ p3[5]; in xor_8regs_p_3()
344 p1 += 8; in xor_8regs_p_3()
345 p2 += 8; in xor_8regs_p_3()
346 p3 += 8; in xor_8regs_p_3()
347 } while (--lines > 0); in xor_8regs_p_3()
356 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_4()
364 prefetchw(p1+8); in xor_8regs_p_4()
365 prefetch(p2+8); in xor_8regs_p_4()
366 prefetch(p3+8); in xor_8regs_p_4()
367 prefetch(p4+8); in xor_8regs_p_4()
374 p1[5] ^= p2[5] ^ p3[5] ^ p4[5]; in xor_8regs_p_4()
377 p1 += 8; in xor_8regs_p_4()
378 p2 += 8; in xor_8regs_p_4()
379 p3 += 8; in xor_8regs_p_4()
380 p4 += 8; in xor_8regs_p_4()
381 } while (--lines > 0); in xor_8regs_p_4()
390 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_8regs_p_5()
399 prefetchw(p1+8); in xor_8regs_p_5()
400 prefetch(p2+8); in xor_8regs_p_5()
401 prefetch(p3+8); in xor_8regs_p_5()
402 prefetch(p4+8); in xor_8regs_p_5()
403 prefetch(p5+8); in xor_8regs_p_5()
410 p1[5] ^= p2[5] ^ p3[5] ^ p4[5] ^ p5[5]; in xor_8regs_p_5()
413 p1 += 8; in xor_8regs_p_5()
414 p2 += 8; in xor_8regs_p_5()
415 p3 += 8; in xor_8regs_p_5()
416 p4 += 8; in xor_8regs_p_5()
417 p5 += 8; in xor_8regs_p_5()
418 } while (--lines > 0); in xor_8regs_p_5()
426 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_2()
434 prefetchw(p1+8); in xor_32regs_p_2()
435 prefetch(p2+8); in xor_32regs_p_2()
442 d5 = p1[5]; in xor_32regs_p_2()
450 d5 ^= p2[5]; in xor_32regs_p_2()
458 p1[5] = d5; in xor_32regs_p_2()
461 p1 += 8; in xor_32regs_p_2()
462 p2 += 8; in xor_32regs_p_2()
463 } while (--lines > 0); in xor_32regs_p_2()
472 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_3()
481 prefetchw(p1+8); in xor_32regs_p_3()
482 prefetch(p2+8); in xor_32regs_p_3()
483 prefetch(p3+8); in xor_32regs_p_3()
490 d5 = p1[5]; in xor_32regs_p_3()
498 d5 ^= p2[5]; in xor_32regs_p_3()
506 d5 ^= p3[5]; in xor_32regs_p_3()
514 p1[5] = d5; in xor_32regs_p_3()
517 p1 += 8; in xor_32regs_p_3()
518 p2 += 8; in xor_32regs_p_3()
519 p3 += 8; in xor_32regs_p_3()
520 } while (--lines > 0); in xor_32regs_p_3()
529 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_4()
539 prefetchw(p1+8); in xor_32regs_p_4()
540 prefetch(p2+8); in xor_32regs_p_4()
541 prefetch(p3+8); in xor_32regs_p_4()
542 prefetch(p4+8); in xor_32regs_p_4()
549 d5 = p1[5]; in xor_32regs_p_4()
557 d5 ^= p2[5]; in xor_32regs_p_4()
565 d5 ^= p3[5]; in xor_32regs_p_4()
573 d5 ^= p4[5]; in xor_32regs_p_4()
581 p1[5] = d5; in xor_32regs_p_4()
584 p1 += 8; in xor_32regs_p_4()
585 p2 += 8; in xor_32regs_p_4()
586 p3 += 8; in xor_32regs_p_4()
587 p4 += 8; in xor_32regs_p_4()
588 } while (--lines > 0); in xor_32regs_p_4()
597 long lines = bytes / (sizeof (long)) / 8 - 1; in xor_32regs_p_5()
608 prefetchw(p1+8); in xor_32regs_p_5()
609 prefetch(p2+8); in xor_32regs_p_5()
610 prefetch(p3+8); in xor_32regs_p_5()
611 prefetch(p4+8); in xor_32regs_p_5()
612 prefetch(p5+8); in xor_32regs_p_5()
619 d5 = p1[5]; in xor_32regs_p_5()
627 d5 ^= p2[5]; in xor_32regs_p_5()
635 d5 ^= p3[5]; in xor_32regs_p_5()
643 d5 ^= p4[5]; in xor_32regs_p_5()
651 d5 ^= p5[5]; in xor_32regs_p_5()
659 p1[5] = d5; in xor_32regs_p_5()
662 p1 += 8; in xor_32regs_p_5()
663 p2 += 8; in xor_32regs_p_5()
664 p3 += 8; in xor_32regs_p_5()
665 p4 += 8; in xor_32regs_p_5()
666 p5 += 8; in xor_32regs_p_5()
667 } while (--lines > 0); in xor_32regs_p_5()
673 .name = "8regs",
689 .name = "8regs_prefetch",