FPU: Ignore stale P contents in short-circuit multiply-add
When a multiply-add is done with A or C equal to zero, the actual multiplication operation is not done, hence P is not valid, so in FINISH state we shouldn't set X based on P being non-zero. Fix this by clearing the is_multiply flag in the short-circuit case. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>pull/457/head
parent
41988e3b5f
commit
a18c462b27
Loading…
Reference in New Issue