diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-09 23:09:41 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-09 23:09:41 +0000 |
commit | 8f6f6026f14581fe09b65c2b31c0052577bf5b2f (patch) | |
tree | 972f0af158826666691f3243f01b1a44a8abb9f9 /target-mips/op_template.c | |
parent | 406f82e8338624179130cdc91bbfb2b33cd98211 (diff) |
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/op_template.c')
-rw-r--r-- | target-mips/op_template.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target-mips/op_template.c b/target-mips/op_template.c index 036e6cef50..48b91e1be3 100644 --- a/target-mips/op_template.c +++ b/target-mips/op_template.c @@ -22,44 +22,44 @@ void glue(op_load_gpr_T0_gpr, REG) (void) { T0 = env->gpr[REG][env->current_tc]; - RETURN(); + FORCE_RET(); } void glue(op_store_T0_gpr_gpr, REG) (void) { env->gpr[REG][env->current_tc] = T0; - RETURN(); + FORCE_RET(); } void glue(op_load_gpr_T1_gpr, REG) (void) { T1 = env->gpr[REG][env->current_tc]; - RETURN(); + FORCE_RET(); } void glue(op_store_T1_gpr_gpr, REG) (void) { env->gpr[REG][env->current_tc] = T1; - RETURN(); + FORCE_RET(); } void glue(op_load_gpr_T2_gpr, REG) (void) { T2 = env->gpr[REG][env->current_tc]; - RETURN(); + FORCE_RET(); } void glue(op_load_srsgpr_T0_gpr, REG) (void) { T0 = env->gpr[REG][(env->CP0_SRSCtl >> CP0SRSCtl_PSS) & 0xf]; - RETURN(); + FORCE_RET(); } void glue(op_store_T0_srsgpr_gpr, REG) (void) { env->gpr[REG][(env->CP0_SRSCtl >> CP0SRSCtl_PSS) & 0xf] = T0; - RETURN(); + FORCE_RET(); } #endif @@ -68,12 +68,12 @@ void glue(op_store_T0_srsgpr_gpr, REG) (void) void glue(op_set, tregname)(void) \ { \ treg = (int32_t)PARAM1; \ - RETURN(); \ + FORCE_RET(); \ } \ void glue(op_reset, tregname)(void) \ { \ treg = 0; \ - RETURN(); \ + FORCE_RET(); \ } \ SET_RESET(T0, _T0) @@ -87,7 +87,7 @@ SET_RESET(T2, _T2) void glue(op_set64, tregname)(void) \ { \ treg = ((uint64_t)PARAM1 << 32) | (uint32_t)PARAM2; \ - RETURN(); \ + FORCE_RET(); \ } SET64(T0, _T0) |