From: Bastian Koppelmann Date: Wed, 14 Jun 2023 10:00:38 +0000 (+0200) Subject: target/tricore: Implement SYCSCALL insn X-Git-Tag: v8.1.0-rc0~49^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b5d136db6484f2b625fb98cce4fd8b7ac26e348;p=thirdparty%2Fqemu.git target/tricore: Implement SYCSCALL insn Reviewed-by: Richard Henderson Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1452 Signed-off-by: Bastian Koppelmann Message-Id: <20230614100039.1337971-8-kbastian@mail.uni-paderborn.de> --- diff --git a/target/tricore/translate.c b/target/tricore/translate.c index a4c60e8ae2f..f01000efd46 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -5236,7 +5236,7 @@ static void decode_rc_serviceroutine(DisasContext *ctx) gen_helper_1arg(bisr, const9); break; case OPC2_32_RC_SYSCALL: - /* TODO: Add exception generation */ + generate_trap(ctx, TRAPC_SYSCALL, const9 & 0xff); break; default: generate_trap(ctx, TRAPC_INSN_ERR, TIN2_IOPC);