On Thu, May 03, 2018 at 10:40:18PM -0700, Richard Henderson wrote: > From: Richard Henderson <r...@twiddle.net> > > The architecture manual is unclear about this, but the or1ksim > does writeback before the exception. This requires splitting > the helpers in half, with the exception raised by the second.
I dont really see a problem with this, ccing bandvig who did a lot of the fpu hardware implementation in mor1kx. > Reviewed-by: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> > Signed-off-by: Richard Henderson <r...@twiddle.net> Acked-by: Stafford Horne <sho...@gmail.com> > --- > target/openrisc/helper.h | 25 +++-- > target/openrisc/fpu_helper.c | 250 > +++++++++---------------------------------- > target/openrisc/translate.c | 101 ++++++++++------- > 3 files changed, 125 insertions(+), 251 deletions(-) >