fpregdef.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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, see
  13. <http://www.gnu.org/licenses/>. */
  14. #ifndef _SYS_FPREGDEF_H
  15. #define _SYS_FPREGDEF_H
  16. /*
  17. * These definitions only cover the R3000-ish 16/32 register model.
  18. * But we're trying to be R3000 friendly anyway ...
  19. */
  20. #define fv0 $f0 /* return value */
  21. #define fv0f $f1
  22. #define fv1 $f2
  23. #define fv1f $f3
  24. #define fa0 $f12 /* argument registers */
  25. #define fa0f $f13
  26. #define fa1 $f14
  27. #define fa1f $f15
  28. #define ft0 $f4 /* caller saved */
  29. #define ft0f $f5
  30. #define ft1 $f6
  31. #define ft1f $f7
  32. #define ft2 $f8
  33. #define ft2f $f9
  34. #define ft3 $f10
  35. #define ft3f $f11
  36. #define ft4 $f16
  37. #define ft4f $f17
  38. #define ft5 $f18
  39. #define ft5f $f19
  40. #define fs0 $f20 /* callee saved */
  41. #define fs0f $f21
  42. #define fs1 $f22
  43. #define fs1f $f23
  44. #define fs2 $f24
  45. #define fs2f $f25
  46. #define fs3 $f26
  47. #define fs3f $f27
  48. #define fs4 $f28
  49. #define fs4f $f29
  50. #define fs5 $f30
  51. #define fs5f $f31
  52. #define fcr31 $31 /* FPU status register */
  53. #endif /* sys/fpregdef.h */