xref: /openbmc/linux/arch/powerpc/lib/xor_vmx.h (revision d2c43ff1)
1 /*
2  * Simple interface to link xor_vmx.c and xor_vmx_glue.c
3  *
4  * Separating these file ensures that no altivec instructions are run
5  * outside of the enable/disable altivec block.
6  */
7 
8 void __xor_altivec_2(unsigned long bytes, unsigned long *v1_in,
9 			     unsigned long *v2_in);
10 
11 void __xor_altivec_3(unsigned long bytes, unsigned long *v1_in,
12 			     unsigned long *v2_in, unsigned long *v3_in);
13 
14 void __xor_altivec_4(unsigned long bytes, unsigned long *v1_in,
15 			     unsigned long *v2_in, unsigned long *v3_in,
16 			     unsigned long *v4_in);
17 
18 void __xor_altivec_5(unsigned long bytes, unsigned long *v1_in,
19 			     unsigned long *v2_in, unsigned long *v3_in,
20 			     unsigned long *v4_in, unsigned long *v5_in);
21