OSDN Git Service

target/ppc: Split up float_invalid_op_excp
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 11 Oct 2018 23:41:53 +0000 (16:41 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 8 Nov 2018 01:04:40 +0000 (12:04 +1100)
commit13c9115fa9d23cf2afad4223b665149d8364d71d
tree8c81e61bea1ac17ccda5051d1e1d53e9e7cddc57
parent0e947a89ce5911ccc92972e4057dfe7d0643e8f7
target/ppc: Split up float_invalid_op_excp

The always_inline trick only works if the function is always
called from the outer-most helper.  But it isn't, so pass in
the outer-most return address.  There's no need for a switch
statement whose argument is always a constant.  Unravel the
switch and goto via more helpers.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/fpu_helper.c