diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2015-05-11 14:59:55 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2015-05-22 17:02:34 +0200 |
commit | 9371557115a734412974f8d4096cbe8a62ca2731 (patch) | |
tree | 7aedb471780d228438883c34b08fdc13084de5ea /target-tricore/helper.h | |
parent | 0e045f43c45f675711c3f6836118dc7eabcc2411 (diff) | |
download | hqemu-9371557115a734412974f8d4096cbe8a62ca2731.zip hqemu-9371557115a734412974f8d4096cbe8a62ca2731.tar.gz |
target-tricore: add RR_DIV and RR_DIV_U instructions of the v1.6 ISA
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tricore/helper.h')
-rw-r--r-- | target-tricore/helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-tricore/helper.h b/target-tricore/helper.h index 842506c..cc221f1 100644 --- a/target-tricore/helper.h +++ b/target-tricore/helper.h @@ -113,6 +113,8 @@ DEF_HELPER_3(dvinit_h_131, i64, env, i32, i32) DEF_HELPER_FLAGS_2(dvadj, TCG_CALL_NO_RWG_SE, i64, i64, i32) DEF_HELPER_FLAGS_2(dvstep, TCG_CALL_NO_RWG_SE, i64, i64, i32) DEF_HELPER_FLAGS_2(dvstep_u, TCG_CALL_NO_RWG_SE, i64, i64, i32) +DEF_HELPER_3(divide, i64, env, i32, i32) +DEF_HELPER_3(divide_u, i64, env, i32, i32) /* mulh */ DEF_HELPER_FLAGS_5(mul_h, TCG_CALL_NO_RWG_SE, i64, i32, i32, i32, i32, i32) DEF_HELPER_FLAGS_5(mulm_h, TCG_CALL_NO_RWG_SE, i64, i32, i32, i32, i32, i32) |