Revision 42388c4b

b/target-mips/fop_template.c
102 102
OP_PSSTORE_FREG(WTH2, WTH2_fpr, FREG)
103 103

  
104 104
#endif
105

  
106
#if defined (FTN)
107

  
108
#define SET_RESET(treg, tregname)        \
109
    void glue(op_set, tregname)(void)    \
110
    {                                    \
111
        treg = PARAM1;                   \
112
        FORCE_RET();                     \
113
    }                                    \
114
    void glue(op_reset, tregname)(void)  \
115
    {                                    \
116
        treg = 0;                        \
117
        FORCE_RET();                     \
118
    }
119

  
120
SET_RESET(WT0, _WT0)
121
SET_RESET(WT1, _WT1)
122
SET_RESET(WT2, _WT2)
123
SET_RESET(DT0, _DT0)
124
SET_RESET(DT1, _DT1)
125
SET_RESET(DT2, _DT2)
126
SET_RESET(WTH0, _WTH0)
127
SET_RESET(WTH1, _WTH1)
128
SET_RESET(WTH2, _WTH2)
129

  
130
#undef SET_RESET
131
#endif
b/target-mips/op.c
145 145
#include "fop_template.c"
146 146
#undef FREG
147 147

  
148
#define FTN
149
#include "fop_template.c"
150
#undef FTN
151

  
152 148
/* Load and store */
153 149
#define MEMSUFFIX _raw
154 150
#include "op_mem.c"

Also available in: Unified diff