mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
22b88fd77e
commit
ad8d25a11f
3 changed files with 34 additions and 62 deletions
|
@ -13,8 +13,6 @@ DEF_HELPER_3(movcal, void, env, i32, i32)
|
|||
DEF_HELPER_1(discard_movcal_backup, void, env)
|
||||
DEF_HELPER_2(ocbi, void, env, i32)
|
||||
|
||||
DEF_HELPER_3(addv, i32, env, i32, i32)
|
||||
DEF_HELPER_3(subv, i32, env, i32, i32)
|
||||
DEF_HELPER_3(div1, i32, env, i32, i32)
|
||||
DEF_HELPER_3(macl, void, env, i32, i32)
|
||||
DEF_HELPER_3(macw, void, env, i32, i32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue