From 148ef7fd8d7ec0bc48668a6ec28584e18b76912d Mon Sep 17 00:00:00 2001 From: Taylor Simpson Date: Wed, 5 Apr 2023 09:42:11 -0700 Subject: Hexagon (target/hexagon) Updates to USR should use get_result_gpr Signed-off-by: Taylor Simpson Reviewed-by: Anton Johansson Message-Id: <20230405164211.30015-3-tsimpson@quicinc.com> --- target/hexagon/gen_tcg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/hexagon/gen_tcg.h') diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h index 45f92ad..b189f72 100644 --- a/target/hexagon/gen_tcg.h +++ b/target/hexagon/gen_tcg.h @@ -1039,11 +1039,11 @@ /* r0 = asr(r1, r2):sat */ #define fGEN_TCG_S2_asr_r_r_sat(SHORTCODE) \ - gen_asr_r_r_sat(RdV, RsV, RtV) + gen_asr_r_r_sat(ctx, RdV, RsV, RtV) /* r0 = asl(r1, r2):sat */ #define fGEN_TCG_S2_asl_r_r_sat(SHORTCODE) \ - gen_asl_r_r_sat(RdV, RsV, RtV) + gen_asl_r_r_sat(ctx, RdV, RsV, RtV) #define fGEN_TCG_SL2_jumpr31(SHORTCODE) \ gen_jumpr(ctx, hex_gpr[HEX_REG_LR]) -- cgit v1.1