17cf76a68SMathieu Malaterre /* SPDX-License-Identifier: GPL-2.0 */ 27cf76a68SMathieu Malaterre #ifndef _ASM_POWERPC_XOR_ALTIVEC_H 37cf76a68SMathieu Malaterre #define _ASM_POWERPC_XOR_ALTIVEC_H 47cf76a68SMathieu Malaterre 57cf76a68SMathieu Malaterre #ifdef CONFIG_ALTIVEC 6*297565aaSArd Biesheuvel void xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1, 7*297565aaSArd Biesheuvel const unsigned long * __restrict p2); 8*297565aaSArd Biesheuvel void xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1, 9*297565aaSArd Biesheuvel const unsigned long * __restrict p2, 10*297565aaSArd Biesheuvel const unsigned long * __restrict p3); 11*297565aaSArd Biesheuvel void xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1, 12*297565aaSArd Biesheuvel const unsigned long * __restrict p2, 13*297565aaSArd Biesheuvel const unsigned long * __restrict p3, 14*297565aaSArd Biesheuvel const unsigned long * __restrict p4); 15*297565aaSArd Biesheuvel void xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1, 16*297565aaSArd Biesheuvel const unsigned long * __restrict p2, 17*297565aaSArd Biesheuvel const unsigned long * __restrict p3, 18*297565aaSArd Biesheuvel const unsigned long * __restrict p4, 19*297565aaSArd Biesheuvel const unsigned long * __restrict p5); 207cf76a68SMathieu Malaterre 217cf76a68SMathieu Malaterre #endif 227cf76a68SMathieu Malaterre #endif /* _ASM_POWERPC_XOR_ALTIVEC_H */ 23