• Home
  • Raw
  • Download

Lines Matching +full:2 +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()
18 p1[2] ^= p2[2]; 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()
38 p1[2] ^= p2[2] ^ p3[2]; 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()
59 p1[2] ^= p2[2] ^ p3[2] ^ p4[2]; 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()
81 p1[2] ^= p2[2] ^ p3[2] ^ p4[2] ^ p5[2]; 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()
104 d2 = p1[2]; in xor_32regs_2()
112 d2 ^= p2[2]; in xor_32regs_2()
120 p1[2] = d2; 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()
141 d2 = p1[2]; in xor_32regs_3()
149 d2 ^= p2[2]; in xor_32regs_3()
157 d2 ^= p3[2]; in xor_32regs_3()
165 p1[2] = d2; 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()
187 d2 = p1[2]; in xor_32regs_4()
195 d2 ^= p2[2]; in xor_32regs_4()
203 d2 ^= p3[2]; in xor_32regs_4()
211 d2 ^= p4[2]; in xor_32regs_4()
219 p1[2] = d2; 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()
242 d2 = p1[2]; in xor_32regs_5()
250 d2 ^= p2[2]; in xor_32regs_5()
258 d2 ^= p3[2]; in xor_32regs_5()
266 d2 ^= p4[2]; in xor_32regs_5()
274 d2 ^= p5[2]; in xor_32regs_5()
282 p1[2] = d2; 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()
309 p1[2] ^= p2[2]; 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()
338 p1[2] ^= p2[2] ^ p3[2]; 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()
371 p1[2] ^= p2[2] ^ p3[2] ^ p4[2]; 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()
407 p1[2] ^= p2[2] ^ p3[2] ^ p4[2] ^ p5[2]; 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()
439 d2 = p1[2]; in xor_32regs_p_2()
447 d2 ^= p2[2]; in xor_32regs_p_2()
455 p1[2] = d2; 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()
487 d2 = p1[2]; in xor_32regs_p_3()
495 d2 ^= p2[2]; in xor_32regs_p_3()
503 d2 ^= p3[2]; in xor_32regs_p_3()
511 p1[2] = d2; 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()
546 d2 = p1[2]; in xor_32regs_p_4()
554 d2 ^= p2[2]; in xor_32regs_p_4()
562 d2 ^= p3[2]; in xor_32regs_p_4()
570 d2 ^= p4[2]; in xor_32regs_p_4()
578 p1[2] = d2; 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()
616 d2 = p1[2]; in xor_32regs_p_5()
624 d2 ^= p2[2]; in xor_32regs_p_5()
632 d2 ^= p3[2]; in xor_32regs_p_5()
640 d2 ^= p4[2]; in xor_32regs_p_5()
648 d2 ^= p5[2]; in xor_32regs_p_5()
656 p1[2] = d2; 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",