target/openrisc: Streamline arithmetic and OVE
Fix incorrect overflow calculation. Move overflow exception check to a helper function, to eliminate inline branches. Remove some incorrect special casing of R0. Implement multiply inline. Reviewed-by:Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by:
Richard Henderson <rth@twiddle.net>
Showing
- target/openrisc/Makefile.objs 1 addition, 1 deletiontarget/openrisc/Makefile.objs
- target/openrisc/exception_helper.c 12 additions, 0 deletionstarget/openrisc/exception_helper.c
- target/openrisc/helper.h 1 addition, 3 deletionstarget/openrisc/helper.h
- target/openrisc/int_helper.c 0 additions, 61 deletionstarget/openrisc/int_helper.c
- target/openrisc/translate.c 177 additions, 249 deletionstarget/openrisc/translate.c
target/openrisc/int_helper.c
deleted
100644 → 0
Please register or sign in to comment