aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 20:42:15 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 20:42:15 +0000
commit42388c4ba7207ae49b58093a66a1f27267b7ede5 (patch)
treeffb3add1fc737c526a28729e1cabab2aa4c339c9 /target-mips
parentc9e03d8f688dd915fa14d577493e60daf9a56b3c (diff)
Delete dead code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4535 c046a42c-6fe2-441c-8c8c-71466251a162
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 c5941d1216..2a85a6b4ad 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 2d9cd36fca..89495b7192 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"