OSDN Git Service

target-ppc: Eliminate set_fprf Argument From helper_compute_fprf
authorTom Musta <tommusta@gmail.com>
Wed, 12 Nov 2014 21:46:04 +0000 (15:46 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:25 +0000 (16:16 +0100)
commit58dd0a478784d4b732a695eb23bf88f4bbf33f5f
tree94034c9988c6900398f1b72df81928af8e30e2de
parent7d45556effa4bf1557ba765b6b94390fb7d06615
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>
target-ppc/fpu_helper.c
target-ppc/helper.h
target-ppc/translate.c