There are a few bugs here, primarily wrt usage of GETPC(). But there is opportunity to share more code between paths that operate on different floating point types.
This is not everything that could be done, but it's a good start. Better for this not to hang out on a branch for another release. r~ Richard Henderson (7): target/ppc: Split up float_invalid_op_excp target/ppc: Remove float_check_status target/ppc: Introduce fp number classification target/ppc: Split out float_invalid_op_addsub target/ppc: Split out float_invalid_op_mul target/ppc: Split out float_invalid_op_div target/ppc: Split out float_invalid_cvt target/ppc/fpu_helper.c | 661 ++++++++++++++++++++-------------------- 1 file changed, 327 insertions(+), 334 deletions(-) -- 2.17.1