Back to index

glibc  2.9
fpregdef.h
Go to the documentation of this file.
00001 /* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003 
00004    The GNU C Library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Lesser General Public
00006    License as published by the Free Software Foundation; either
00007    version 2.1 of the License, or (at your option) any later version.
00008 
00009    The GNU C Library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Lesser General Public License for more details.
00013 
00014    You should have received a copy of the GNU Lesser General Public
00015    License along with the GNU C Library; if not, write to the Free
00016    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00017    02111-1307 USA.  */
00018 
00019 #ifndef _SYS_FPREGDEF_H
00020 #define _SYS_FPREGDEF_H
00021 
00022 /*
00023  * These definitions only cover the R3000-ish 16/32 register model.
00024  * But we're trying to be R3000 friendly anyway ...
00025  */
00026 #define fv0   $f0      /* return value */
00027 #define fv0f  $f1
00028 #define fv1   $f2
00029 #define fv1f  $f3
00030 #define fa0   $f12     /* argument registers */
00031 #define fa0f  $f13
00032 #define fa1   $f14
00033 #define fa1f  $f15
00034 #define ft0   $f4      /* caller saved */
00035 #define ft0f  $f5
00036 #define ft1   $f6
00037 #define ft1f  $f7
00038 #define ft2   $f8
00039 #define ft2f  $f9
00040 #define ft3   $f10
00041 #define ft3f  $f11
00042 #define ft4   $f16
00043 #define ft4f  $f17
00044 #define ft5   $f18
00045 #define ft5f  $f19
00046 #define fs0   $f20     /* callee saved */
00047 #define fs0f  $f21
00048 #define fs1   $f22
00049 #define fs1f  $f23
00050 #define fs2   $f24
00051 #define fs2f  $f25
00052 #define fs3   $f26
00053 #define fs3f  $f27
00054 #define fs4   $f28
00055 #define fs4f  $f29
00056 #define fs5   $f30
00057 #define fs5f  $f31
00058 
00059 #define fcr31 $31      /* FPU status register */
00060 
00061 #endif /* sys/fpregdef.h */