~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/powerpc/include/asm/kvm_fpu.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  *
  4  * Copyright Novell Inc. 2010
  5  *
  6  * Authors: Alexander Graf <agraf@suse.de>
  7  */
  8 
  9 #ifndef __ASM_KVM_FPU_H__
 10 #define __ASM_KVM_FPU_H__
 11 
 12 #include <linux/types.h>
 13 
 14 extern void fps_fres(u64 *fpscr, u32 *dst, u32 *src1);
 15 extern void fps_frsqrte(u64 *fpscr, u32 *dst, u32 *src1);
 16 extern void fps_fsqrts(u64 *fpscr, u32 *dst, u32 *src1);
 17 
 18 extern void fps_fadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
 19 extern void fps_fdivs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
 20 extern void fps_fmuls(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
 21 extern void fps_fsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
 22 
 23 extern void fps_fmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
 24                        u32 *src3);
 25 extern void fps_fmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
 26                        u32 *src3);
 27 extern void fps_fnmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
 28                         u32 *src3);
 29 extern void fps_fnmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
 30                         u32 *src3);
 31 extern void fps_fsel(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
 32                      u32 *src3);
 33 
 34 #define FPD_ONE_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \
 35                                 u64 *dst, u64 *src1);
 36 #define FPD_TWO_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \
 37                                 u64 *dst, u64 *src1, u64 *src2);
 38 #define FPD_THREE_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \
 39                                 u64 *dst, u64 *src1, u64 *src2, u64 *src3);
 40 
 41 extern void fpd_fcmpu(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2);
 42 extern void fpd_fcmpo(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2);
 43 
 44 FPD_ONE_IN(fsqrts)
 45 FPD_ONE_IN(frsqrtes)
 46 FPD_ONE_IN(fres)
 47 FPD_ONE_IN(frsp)
 48 FPD_ONE_IN(fctiw)
 49 FPD_ONE_IN(fctiwz)
 50 FPD_ONE_IN(fsqrt)
 51 FPD_ONE_IN(fre)
 52 FPD_ONE_IN(frsqrte)
 53 FPD_ONE_IN(fneg)
 54 FPD_ONE_IN(fabs)
 55 FPD_TWO_IN(fadds)
 56 FPD_TWO_IN(fsubs)
 57 FPD_TWO_IN(fdivs)
 58 FPD_TWO_IN(fmuls)
 59 FPD_TWO_IN(fcpsgn)
 60 FPD_TWO_IN(fdiv)
 61 FPD_TWO_IN(fadd)
 62 FPD_TWO_IN(fmul)
 63 FPD_TWO_IN(fsub)
 64 FPD_THREE_IN(fmsubs)
 65 FPD_THREE_IN(fmadds)
 66 FPD_THREE_IN(fnmsubs)
 67 FPD_THREE_IN(fnmadds)
 68 FPD_THREE_IN(fsel)
 69 FPD_THREE_IN(fmsub)
 70 FPD_THREE_IN(fmadd)
 71 FPD_THREE_IN(fnmsub)
 72 FPD_THREE_IN(fnmadd)
 73 
 74 extern void kvm_cvt_fd(u32 *from, u64 *to);
 75 extern void kvm_cvt_df(u64 *from, u32 *to);
 76 
 77 #endif
 78 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php