]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/powerpc/lib/xor_vmx.h
Linux 4.14-rc6
[mirror_ubuntu-focal-kernel.git] / arch / powerpc / lib / xor_vmx.h
CommitLineData
f718d426
MB
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
8void __xor_altivec_2(unsigned long bytes, unsigned long *v1_in,
9 unsigned long *v2_in);
10
11void __xor_altivec_3(unsigned long bytes, unsigned long *v1_in,
12 unsigned long *v2_in, unsigned long *v3_in);
13
14void __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
18void __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);