target-sh4: implement addv and subv using TCG
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 16 Sep 2012 11:12:20 +0000 (13:12 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 Sep 2012 17:53:16 +0000 (19:53 +0200)
commitad8d25a11f13cb8acc69558d03cd69202f5a3cc2
tree05f1d6d9cd83669476ae546b87c0a4d83cd26a2d
parent22b88fd77e2fbb8aefb6e50a6a24d670b0ecb022
target-sh4: implement addv and subv using TCG

addv and subv helpers implementation is directly copied from the SH4
manual and looks quite complex. It is however possible to explain it
without branches, and is therefore possible to implement it with TCG.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/helper.h
target-sh4/op_helper.c
target-sh4/translate.c