aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon/gen_tcg.h
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2023-04-05 09:42:11 -0700
committerTaylor Simpson <tsimpson@quicinc.com>2023-04-21 09:32:52 -0700
commit148ef7fd8d7ec0bc48668a6ec28584e18b76912d (patch)
tree70195c52fab39bfdbd1f1511ee2e50b4346cfe92 /target/hexagon/gen_tcg.h
parenta52584815e7adb2413893d2f5323bf7487c9117f (diff)
downloadqemu-148ef7fd8d7ec0bc48668a6ec28584e18b76912d.zip
qemu-148ef7fd8d7ec0bc48668a6ec28584e18b76912d.tar.gz
qemu-148ef7fd8d7ec0bc48668a6ec28584e18b76912d.tar.bz2
Hexagon (target/hexagon) Updates to USR should use get_result_gpr
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Anton Johansson <anjo@rev.ng> Message-Id: <20230405164211.30015-3-tsimpson@quicinc.com>
Diffstat (limited to 'target/hexagon/gen_tcg.h')
-rw-r--r--target/hexagon/gen_tcg.h4
1 files changed, 2 insertions, 2 deletions
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])