]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/asm-mips/fpregdef.h
2 * Definitions for the FPU register names
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
8 * Copyright (C) 1995, 1999 Ralf Baechle
9 * Copyright (C) 1985 MIPS Computer Systems, Inc.
10 * Copyright (C) 1990 - 1992, 1999 Silicon Graphics, Inc.
12 #ifndef _ASM_FPREGDEF_H
13 #define _ASM_FPREGDEF_H
15 #include <asm/sgidefs.h>
17 #if _MIPS_SIM == _MIPS_SIM_ABI32
20 * These definitions only cover the R3000-ish 16/32 register model.
21 * But we're trying to be R3000 friendly anyway ...
23 #define fv0 $f0 /* return value */
27 #define fa0 $f12 /* argument registers */
31 #define ft0 $f4 /* caller saved */
43 #define fs0 $f20 /* callee saved */
56 #define fcr31 $31 /* FPU status register */
58 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
60 #if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
62 #define fv0 $f0 /* return value */
64 #define fa0 $f12 /* argument registers */
72 #define ft0 $f4 /* caller saved */
86 #define fs0 $f24 /* callee saved */
97 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */
99 #endif /* _ASM_FPREGDEF_H */