1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Simple interface to link xor_vmx.c and xor_vmx_glue.c 4 * 5 * Separating these file ensures that no altivec instructions are run 6 * outside of the enable/disable altivec block. 7 */ 8 9 void __xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1, 10 const unsigned long * __restrict p2); 11 void __xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1, 12 const unsigned long * __restrict p2, 13 const unsigned long * __restrict p3); 14 void __xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1, 15 const unsigned long * __restrict p2, 16 const unsigned long * __restrict p3, 17 const unsigned long * __restrict p4); 18 void __xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1, 19 const unsigned long * __restrict p2, 20 const unsigned long * __restrict p3, 21 const unsigned long * __restrict p4, 22 const unsigned long * __restrict p5); 23