| [2] | 1 | /* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc. |
|---|
| 2 | This file is part of the GNU C Library. |
|---|
| 3 | |
|---|
| 4 | The GNU C Library is free software; you can redistribute it and/or |
|---|
| 5 | modify it under the terms of the GNU Lesser General Public |
|---|
| 6 | License as published by the Free Software Foundation; either |
|---|
| 7 | version 2.1 of the License, or (at your option) any later version. |
|---|
| 8 | |
|---|
| 9 | The GNU C Library is distributed in the hope that it will be useful, |
|---|
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 12 | Lesser General Public License for more details. |
|---|
| 13 | |
|---|
| 14 | You should have received a copy of the GNU Lesser General Public |
|---|
| 15 | License along with the GNU C Library; if not, write to the Free |
|---|
| 16 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
|---|
| 17 | 02111-1307 USA. */ |
|---|
| 18 | |
|---|
| 19 | #ifndef _SYS_FPREGDEF_H |
|---|
| 20 | #define _SYS_FPREGDEF_H |
|---|
| 21 | |
|---|
| 22 | /* |
|---|
| 23 | * These definitions only cover the R3000-ish 16/32 register model. |
|---|
| 24 | * But we're trying to be R3000 friendly anyway ... |
|---|
| 25 | */ |
|---|
| 26 | #define fv0 $f0 /* return value */ |
|---|
| 27 | #define fv0f $f1 |
|---|
| 28 | #define fv1 $f2 |
|---|
| 29 | #define fv1f $f3 |
|---|
| 30 | #define fa0 $f12 /* argument registers */ |
|---|
| 31 | #define fa0f $f13 |
|---|
| 32 | #define fa1 $f14 |
|---|
| 33 | #define fa1f $f15 |
|---|
| 34 | #define ft0 $f4 /* caller saved */ |
|---|
| 35 | #define ft0f $f5 |
|---|
| 36 | #define ft1 $f6 |
|---|
| 37 | #define ft1f $f7 |
|---|
| 38 | #define ft2 $f8 |
|---|
| 39 | #define ft2f $f9 |
|---|
| 40 | #define ft3 $f10 |
|---|
| 41 | #define ft3f $f11 |
|---|
| 42 | #define ft4 $f16 |
|---|
| 43 | #define ft4f $f17 |
|---|
| 44 | #define ft5 $f18 |
|---|
| 45 | #define ft5f $f19 |
|---|
| 46 | #define fs0 $f20 /* callee saved */ |
|---|
| 47 | #define fs0f $f21 |
|---|
| 48 | #define fs1 $f22 |
|---|
| 49 | #define fs1f $f23 |
|---|
| 50 | #define fs2 $f24 |
|---|
| 51 | #define fs2f $f25 |
|---|
| 52 | #define fs3 $f26 |
|---|
| 53 | #define fs3f $f27 |
|---|
| 54 | #define fs4 $f28 |
|---|
| 55 | #define fs4f $f29 |
|---|
| 56 | #define fs5 $f30 |
|---|
| 57 | #define fs5f $f31 |
|---|
| 58 | |
|---|
| 59 | #define fcr31 $31 /* FPU status register */ |
|---|
| 60 | |
|---|
| 61 | #endif /* sys/fpregdef.h */ |
|---|