cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

xor_altivec.h (888B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _ASM_POWERPC_XOR_ALTIVEC_H
      3#define _ASM_POWERPC_XOR_ALTIVEC_H
      4
      5#ifdef CONFIG_ALTIVEC
      6void xor_altivec_2(unsigned long bytes, unsigned long * __restrict p1,
      7		   const unsigned long * __restrict p2);
      8void xor_altivec_3(unsigned long bytes, unsigned long * __restrict p1,
      9		   const unsigned long * __restrict p2,
     10		   const unsigned long * __restrict p3);
     11void xor_altivec_4(unsigned long bytes, unsigned long * __restrict p1,
     12		   const unsigned long * __restrict p2,
     13		   const unsigned long * __restrict p3,
     14		   const unsigned long * __restrict p4);
     15void xor_altivec_5(unsigned long bytes, unsigned long * __restrict p1,
     16		   const unsigned long * __restrict p2,
     17		   const unsigned long * __restrict p3,
     18		   const unsigned long * __restrict p4,
     19		   const unsigned long * __restrict p5);
     20
     21#endif
     22#endif /* _ASM_POWERPC_XOR_ALTIVEC_H */