1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Simple interface to link xor_vmx.c and xor_vmx_glue.c
5 * Separating these file ensures that no altivec instructions are run
6 * outside of the enable/disable altivec block.
9 void __xor_altivec_2(unsigned long bytes
, unsigned long *v1_in
,
10 unsigned long *v2_in
);
12 void __xor_altivec_3(unsigned long bytes
, unsigned long *v1_in
,
13 unsigned long *v2_in
, unsigned long *v3_in
);
15 void __xor_altivec_4(unsigned long bytes
, unsigned long *v1_in
,
16 unsigned long *v2_in
, unsigned long *v3_in
,
17 unsigned long *v4_in
);
19 void __xor_altivec_5(unsigned long bytes
, unsigned long *v1_in
,
20 unsigned long *v2_in
, unsigned long *v3_in
,
21 unsigned long *v4_in
, unsigned long *v5_in
);