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

TOMOYO Linux Cross Reference
Linux/arch/loongarch/include/asm/fpregdef.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*
  3  * Definitions for the FPU register names
  4  *
  5  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
  6  */
  7 #ifndef _ASM_FPREGDEF_H
  8 #define _ASM_FPREGDEF_H
  9 
 10 #define fa0     $f0     /* argument registers, fa0/fa1 reused as fv0/fv1 for return value */
 11 #define fa1     $f1
 12 #define fa2     $f2
 13 #define fa3     $f3
 14 #define fa4     $f4
 15 #define fa5     $f5
 16 #define fa6     $f6
 17 #define fa7     $f7
 18 #define ft0     $f8     /* caller saved */
 19 #define ft1     $f9
 20 #define ft2     $f10
 21 #define ft3     $f11
 22 #define ft4     $f12
 23 #define ft5     $f13
 24 #define ft6     $f14
 25 #define ft7     $f15
 26 #define ft8     $f16
 27 #define ft9     $f17
 28 #define ft10    $f18
 29 #define ft11    $f19
 30 #define ft12    $f20
 31 #define ft13    $f21
 32 #define ft14    $f22
 33 #define ft15    $f23
 34 #define fs0     $f24    /* callee saved */
 35 #define fs1     $f25
 36 #define fs2     $f26
 37 #define fs3     $f27
 38 #define fs4     $f28
 39 #define fs5     $f29
 40 #define fs6     $f30
 41 #define fs7     $f31
 42 
 43 #ifndef CONFIG_AS_HAS_FCSR_CLASS
 44 /*
 45  * Current binutils expects *GPRs* at FCSR position for the FCSR
 46  * operation instructions, so define aliases for those used.
 47  */
 48 #define fcsr0   $r0
 49 #define fcsr1   $r1
 50 #define fcsr2   $r2
 51 #define fcsr3   $r3
 52 #else
 53 #define fcsr0   $fcsr0
 54 #define fcsr1   $fcsr1
 55 #define fcsr2   $fcsr2
 56 #define fcsr3   $fcsr3
 57 #endif
 58 
 59 #endif /* _ASM_FPREGDEF_H */
 60 

~ [ 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