Lines 106-112
Link Here
|
106 |
#if defined(__mips_n32) || defined(__mips_n64) |
106 |
#if defined(__mips_n32) || defined(__mips_n64) |
107 |
REG_S gp, (_JB_REG_GP * SZREG)(a0) |
107 |
REG_S gp, (_JB_REG_GP * SZREG)(a0) |
108 |
#endif |
108 |
#endif |
109 |
#ifndef SOFTFLOAT |
109 |
#ifndef __mips_soft_float |
110 |
/* |
110 |
/* |
111 |
* From "MIPSpro N32 ABI Handbook", Table 2-1: |
111 |
* From "MIPSpro N32 ABI Handbook", Table 2-1: |
112 |
* In N32, FP registers F20, F22, F24, F26, F28, F30 are callee-saved. |
112 |
* In N32, FP registers F20, F22, F24, F26, F28, F30 are callee-saved. |
Lines 135-141
Link Here
|
135 |
FP_S $f29, (_JB_FPREG_F29 * SZREG)(a0) |
135 |
FP_S $f29, (_JB_FPREG_F29 * SZREG)(a0) |
136 |
FP_S $f31, (_JB_FPREG_F31 * SZREG)(a0) |
136 |
FP_S $f31, (_JB_FPREG_F31 * SZREG)(a0) |
137 |
#endif |
137 |
#endif |
138 |
#endif /* ! SOFTFLOAT */ |
138 |
#endif /* ! __mips_soft_float */ |
139 |
|
139 |
|
140 |
move v0, zero |
140 |
move v0, zero |
141 |
jr ra |
141 |
jr ra |
Lines 190-196
Link Here
|
190 |
#if defined(__mips_n32) || defined(__mips_n64) |
190 |
#if defined(__mips_n32) || defined(__mips_n64) |
191 |
REG_L gp, (_JB_REG_GP * SZREG)(a0) |
191 |
REG_L gp, (_JB_REG_GP * SZREG)(a0) |
192 |
#endif |
192 |
#endif |
193 |
#ifndef SOFTFLOAT |
193 |
#ifndef __mips_soft_float |
194 |
/* |
194 |
/* |
195 |
* From "MIPSpro N32 ABI Handbook", Table 2-1: |
195 |
* From "MIPSpro N32 ABI Handbook", Table 2-1: |
196 |
* In N32, FP registers F20, F22, F24, F26, F28, F30 are callee-saved. |
196 |
* In N32, FP registers F20, F22, F24, F26, F28, F30 are callee-saved. |
Lines 219-225
Link Here
|
219 |
FP_L $f29, (_JB_FPREG_F29 * SZREG)(a0) |
219 |
FP_L $f29, (_JB_FPREG_F29 * SZREG)(a0) |
220 |
FP_L $f31, (_JB_FPREG_F31 * SZREG)(a0) |
220 |
FP_L $f31, (_JB_FPREG_F31 * SZREG)(a0) |
221 |
#endif |
221 |
#endif |
222 |
#endif /* ! SOFTFLOAT */ |
222 |
#endif /* ! __mips_soft_float */ |
223 |
|
223 |
|
224 |
move v0, a1 |
224 |
move v0, a1 |
225 |
j ra |
225 |
j ra |