1
2
3
4
5
6
7
8
9
10
11
12 #ifndef _ASM_FPREGDEF_H
13 #define _ASM_FPREGDEF_H
14
15 #include <asm/sgidefs.h>
16
17
18
19
20
21
22
23
24
25 #ifdef GAS_HAS_SET_HARDFLOAT
26 #define SET_HARDFLOAT .set hardfloat
27 #else
28 #define SET_HARDFLOAT
29 #endif
30
31 #if _MIPS_SIM == _MIPS_SIM_ABI32
32
33
34
35
36
37 #define fv0 $f0
38 #define fv0f $f1
39 #define fv1 $f2
40 #define fv1f $f3
41 #define fa0 $f12
42 #define fa0f $f13
43 #define fa1 $f14
44 #define fa1f $f15
45 #define ft0 $f4
46 #define ft0f $f5
47 #define ft1 $f6
48 #define ft1f $f7
49 #define ft2 $f8
50 #define ft2f $f9
51 #define ft3 $f10
52 #define ft3f $f11
53 #define ft4 $f16
54 #define ft4f $f17
55 #define ft5 $f18
56 #define ft5f $f19
57 #define fs0 $f20
58 #define fs0f $f21
59 #define fs1 $f22
60 #define fs1f $f23
61 #define fs2 $f24
62 #define fs2f $f25
63 #define fs3 $f26
64 #define fs3f $f27
65 #define fs4 $f28
66 #define fs4f $f29
67 #define fs5 $f30
68 #define fs5f $f31
69
70 #define fcr31 $31
71
72 #endif
73
74 #if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
75
76 #define fv0 $f0
77 #define fv1 $f2
78 #define fa0 $f12
79 #define fa1 $f13
80 #define fa2 $f14
81 #define fa3 $f15
82 #define fa4 $f16
83 #define fa5 $f17
84 #define fa6 $f18
85 #define fa7 $f19
86 #define ft0 $f4
87 #define ft1 $f5
88 #define ft2 $f6
89 #define ft3 $f7
90 #define ft4 $f8
91 #define ft5 $f9
92 #define ft6 $f10
93 #define ft7 $f11
94 #define ft8 $f20
95 #define ft9 $f21
96 #define ft10 $f22
97 #define ft11 $f23
98 #define ft12 $f1
99 #define ft13 $f3
100 #define fs0 $f24
101 #define fs1 $f25
102 #define fs2 $f26
103 #define fs3 $f27
104 #define fs4 $f28
105 #define fs5 $f29
106 #define fs6 $f30
107 #define fs7 $f31
108
109 #define fcr31 $31
110
111 #endif
112
113 #endif