fpregdef.h 1.7 KB

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