@samitouri / QOSamiQemu / commits / f93e9cbca1

target/hexagon: Make A_PRIV, "J2_trap*" insts need_env()

Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>

Brian Cain committed Jun 22, 2026 at 15:28 UTC f93e9cbca1464bb5325d4c29884294c216477760
1 file changed +3 -1
target/hexagon/hex_common.py
+3 -1
@@ -250,7 +250,9 @@ def need_env(tag):
250 "A_LOAD" in attribdict[tag] or
251 "A_CVI_GATHER" in attribdict[tag] or
252 "A_CVI_SCATTER" in attribdict[tag] or
253 - "A_IMPLICIT_WRITES_USR" in attribdict[tag])
253 + "A_IMPLICIT_WRITES_USR" in attribdict[tag] or
254 + "A_PRIV" in attribdict[tag] or
255 + "J2_trap" in tag)
256
257
258 def need_slot(tag):