diff options
author | Tom Musta <tommusta@gmail.com> | 2014-11-12 15:46:04 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-01-07 16:16:25 +0100 |
commit | 58dd0a478784d4b732a695eb23bf88f4bbf33f5f (patch) | |
tree | 94034c9988c6900398f1b72df81928af8e30e2de /target-ppc/helper.h | |
parent | 7d45556effa4bf1557ba765b6b94390fb7d06615 (diff) | |
download | hqemu-58dd0a478784d4b732a695eb23bf88f4bbf33f5f.zip hqemu-58dd0a478784d4b732a695eb23bf88f4bbf33f5f.tar.gz |
target-ppc: Eliminate set_fprf Argument From helper_compute_fprf
The set_fprf argument to the helper_compute_fprf helper function
is no longer necessary -- the helper is only invoked when FPSCR[FPRF]
is going to be set.
Eliminate the unnecessary argument from the function signature and
its corresponding implementation. Change the return value of the
helper to "void". Update the name of the local variable "ret" to
"fprf", which now makes more sense.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index 210fd97..2841f61 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -52,7 +52,7 @@ DEF_HELPER_FLAGS_2(brinc, TCG_CALL_NO_RWG_SE, tl, tl, tl) DEF_HELPER_1(float_check_status, void, env) DEF_HELPER_1(reset_fpstatus, void, env) -DEF_HELPER_3(compute_fprf, i32, env, i64, i32) +DEF_HELPER_2(compute_fprf, void, env, i64) DEF_HELPER_3(store_fpscr, void, env, i64, i32) DEF_HELPER_2(fpscr_clrbit, void, env, i32) DEF_HELPER_2(fpscr_setbit, void, env, i32) |