target/openrisc: Fix madd
commit762e22edcd021035e1dbcf0dbc31b4794c5c1027
authorRichard Henderson <rth@twiddle.net>
Thu, 19 Feb 2015 02:47:35 +0000 (18 18:47 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 13 Feb 2017 21:15:00 +0000 (14 08:15 +1100)
tree3f2fb564feb01629b7f125ce88ee928ee25729b2
parentcc5de49ebe5b2881b88b22c13410f13657b472e0
target/openrisc: Fix madd

Note that the specification for lf.madd.s is confused.  It's
the only mention of supposed FPMADDHI/FPMADDLO special registers.
On the other hand, or1ksim implements a somewhat normal non-fused
multiply and add.  Mirror that.

Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/openrisc/cpu.h
target/openrisc/fpu_helper.c
target/openrisc/helper.h
target/openrisc/translate.c