summaryrefslogtreecommitdiff
path: root/target-mips/fop_template.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-09 23:09:41 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-09 23:09:41 +0000
commit8f6f6026f14581fe09b65c2b31c0052577bf5b2f (patch)
tree972f0af158826666691f3243f01b1a44a8abb9f9 /target-mips/fop_template.c
parent406f82e8338624179130cdc91bbfb2b33cd98211 (diff)
downloadqemu-8f6f6026f14581fe09b65c2b31c0052577bf5b2f.zip
Use FORCE_RET, scrap RETURN which was implemented in target-specific code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3560 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/fop_template.c')
-rw-r--r--target-mips/fop_template.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/target-mips/fop_template.c b/target-mips/fop_template.c
index 25b2ca7a54..8ee0525130 100644
--- a/target-mips/fop_template.c
+++ b/target-mips/fop_template.c
@@ -25,14 +25,14 @@
void glue(glue(op_load_fpr_,tregname), FREG) (void) \
{ \
treg = env->fpu->fpr[FREG].fs[FP_ENDIAN_IDX]; \
- RETURN(); \
+ FORCE_RET(); \
}
#define OP_WSTORE_FREG(treg, tregname, FREG) \
void glue(glue(op_store_fpr_,tregname), FREG) (void) \
{ \
env->fpu->fpr[FREG].fs[FP_ENDIAN_IDX] = treg; \
- RETURN(); \
+ FORCE_RET(); \
}
/* WT0 = FREG.w: op_load_fpr_WT0_fprFREG */
@@ -54,7 +54,7 @@ OP_WSTORE_FREG(WT2, WT2_fpr, FREG)
else \
treg = (uint64_t)(env->fpu->fpr[FREG | 1].fs[FP_ENDIAN_IDX]) << 32 | \
env->fpu->fpr[FREG & ~1].fs[FP_ENDIAN_IDX]; \
- RETURN(); \
+ FORCE_RET(); \
}
#define OP_DSTORE_FREG(treg, tregname, FREG) \
@@ -66,7 +66,7 @@ OP_WSTORE_FREG(WT2, WT2_fpr, FREG)
env->fpu->fpr[FREG | 1].fs[FP_ENDIAN_IDX] = treg >> 32; \
env->fpu->fpr[FREG & ~1].fs[FP_ENDIAN_IDX] = treg; \
} \
- RETURN(); \
+ FORCE_RET(); \
}
OP_DLOAD_FREG(DT0, DT0_fpr, FREG)
@@ -82,14 +82,14 @@ OP_DSTORE_FREG(DT2, DT2_fpr, FREG)
void glue(glue(op_load_fpr_,tregname), FREG) (void) \
{ \
treg = env->fpu->fpr[FREG].fs[!FP_ENDIAN_IDX]; \
- RETURN(); \
+ FORCE_RET(); \
}
#define OP_PSSTORE_FREG(treg, tregname, FREG) \
void glue(glue(op_store_fpr_,tregname), FREG) (void) \
{ \
env->fpu->fpr[FREG].fs[!FP_ENDIAN_IDX] = treg; \
- RETURN(); \
+ FORCE_RET(); \
}
OP_PSLOAD_FREG(WTH0, WTH0_fpr, FREG)
@@ -109,12 +109,12 @@ OP_PSSTORE_FREG(WTH2, WTH2_fpr, FREG)
void glue(op_set, tregname)(void) \
{ \
treg = PARAM1; \
- RETURN(); \
+ FORCE_RET(); \
} \
void glue(op_reset, tregname)(void) \
{ \
treg = 0; \
- RETURN(); \
+ FORCE_RET(); \
}
SET_RESET(WT0, _WT0)