• Home
  • Raw
  • Download

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.
13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2()
19 p1[3] ^= p2[3]; 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()
39 p1[3] ^= p2[3] ^ p3[3]; 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()
60 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; 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()
82 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; 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()
105 d3 = p1[3]; in xor_32regs_2()
113 d3 ^= p2[3]; in xor_32regs_2()
121 p1[3] = d3; 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()
142 d3 = p1[3]; in xor_32regs_3()
150 d3 ^= p2[3]; in xor_32regs_3()
158 d3 ^= p3[3]; in xor_32regs_3()
166 p1[3] = d3; 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()
188 d3 = p1[3]; in xor_32regs_4()
196 d3 ^= p2[3]; in xor_32regs_4()
204 d3 ^= p3[3]; in xor_32regs_4()
212 d3 ^= p4[3]; in xor_32regs_4()
220 p1[3] = d3; 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()
243 d3 = p1[3]; in xor_32regs_5()
251 d3 ^= p2[3]; in xor_32regs_5()
259 d3 ^= p3[3]; in xor_32regs_5()
267 d3 ^= p4[3]; in xor_32regs_5()
275 d3 ^= p5[3]; in xor_32regs_5()
283 p1[3] = d3; 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()
310 p1[3] ^= p2[3]; 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()
339 p1[3] ^= p2[3] ^ p3[3]; 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()
372 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; 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()
408 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; 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()
440 d3 = p1[3]; in xor_32regs_p_2()
448 d3 ^= p2[3]; in xor_32regs_p_2()
456 p1[3] = d3; 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()
488 d3 = p1[3]; in xor_32regs_p_3()
496 d3 ^= p2[3]; in xor_32regs_p_3()
504 d3 ^= p3[3]; in xor_32regs_p_3()
512 p1[3] = d3; 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()
547 d3 = p1[3]; in xor_32regs_p_4()
555 d3 ^= p2[3]; in xor_32regs_p_4()
563 d3 ^= p3[3]; in xor_32regs_p_4()
571 d3 ^= p4[3]; in xor_32regs_p_4()
579 p1[3] = d3; 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()
617 d3 = p1[3]; in xor_32regs_p_5()
625 d3 ^= p2[3]; in xor_32regs_p_5()
633 d3 ^= p3[3]; in xor_32regs_p_5()
641 d3 ^= p4[3]; in xor_32regs_p_5()
649 d3 ^= p5[3]; in xor_32regs_p_5()
657 p1[3] = d3; 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",