xref: /linux/arch/powerpc/include/asm/xor_altivec.h (revision e65e175b07bef5974045cc42238de99057669ca7)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_XOR_ALTIVEC_H
3 #define _ASM_POWERPC_XOR_ALTIVEC_H
4 
5 #ifdef CONFIG_ALTIVEC
6 void xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1,
7 		   const unsigned long * __restrict p2);
8 void xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1,
9 		   const unsigned long * __restrict p2,
10 		   const unsigned long * __restrict p3);
11 void xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1,
12 		   const unsigned long * __restrict p2,
13 		   const unsigned long * __restrict p3,
14 		   const unsigned long * __restrict p4);
15 void xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1,
16 		   const unsigned long * __restrict p2,
17 		   const unsigned long * __restrict p3,
18 		   const unsigned long * __restrict p4,
19 		   const unsigned long * __restrict p5);
20 
21 #endif
22 #endif /* _ASM_POWERPC_XOR_ALTIVEC_H */
23