FPU: Simplify logic for setting r.x
Since r.x is mostly set from the value in r.r and only once from anything else (r.b.mantissa), move the check to before the input multiplexer for the main adder, so it works on r.r rather than whatever is selected by r.opsel_a. For the case in DO_FRSP where we have B selected by r.opsel_a, we add a new state so that we now get B into R and then check the low bits of R. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>pull/442/head
parent
4e5f856c55
commit
cf866ce910
Loading…
Reference in New Issue