]> git.proxmox.com Git - mirror_qemu.git/commit - target/openrisc/translate.c
target/openrisc: Streamline arithmetic and OVE
authorRichard Henderson <rth@twiddle.net>
Tue, 7 Apr 2015 20:31:50 +0000 (13:31 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 13 Feb 2017 21:14:59 +0000 (08:14 +1100)
commit9ecaa27e7123211f45ca723a736ffae14f6c1f42
treec8bf8f3ba1f9c636c86ad110c9269425dc82f734
parent6da544a6c4572ed11931218e940f45d00b1fe3a7
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>
target/openrisc/Makefile.objs
target/openrisc/exception_helper.c
target/openrisc/helper.h
target/openrisc/int_helper.c [deleted file]
target/openrisc/translate.c