aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/fop_template.c27
-rw-r--r--target-mips/op.c4
2 files changed, 0 insertions, 31 deletions
diff --git a/target-mips/fop_template.c b/target-mips/fop_template.c
index c5941d1..2a85a6b 100644
--- a/target-mips/fop_template.c
+++ b/target-mips/fop_template.c
@@ -102,30 +102,3 @@ OP_PSLOAD_FREG(WTH2, WTH2_fpr, FREG)
OP_PSSTORE_FREG(WTH2, WTH2_fpr, FREG)
#endif
-
-#if defined (FTN)
-
-#define SET_RESET(treg, tregname) \
- void glue(op_set, tregname)(void) \
- { \
- treg = PARAM1; \
- FORCE_RET(); \
- } \
- void glue(op_reset, tregname)(void) \
- { \
- treg = 0; \
- FORCE_RET(); \
- }
-
-SET_RESET(WT0, _WT0)
-SET_RESET(WT1, _WT1)
-SET_RESET(WT2, _WT2)
-SET_RESET(DT0, _DT0)
-SET_RESET(DT1, _DT1)
-SET_RESET(DT2, _DT2)
-SET_RESET(WTH0, _WTH0)
-SET_RESET(WTH1, _WTH1)
-SET_RESET(WTH2, _WTH2)
-
-#undef SET_RESET
-#endif
diff --git a/target-mips/op.c b/target-mips/op.c
index 2d9cd36..89495b7 100644
--- a/target-mips/op.c
+++ b/target-mips/op.c
@@ -145,10 +145,6 @@
#include "fop_template.c"
#undef FREG
-#define FTN
-#include "fop_template.c"
-#undef FTN
-
/* Load and store */
#define MEMSUFFIX _raw
#include "op_mem.c"