target/hexagon: Implement modify_ssr, resched, pending_interrupt
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
49b5f7cc1692e9f877f34d4a2bf8ab50ea3b5721
1 file changed
+14
target/hexagon/op_helper.c
+14
@@ -1227,6 +1227,15 @@ float64 HELPER(dfmpyhh)(CPUHexagonState *env, float64 RxxV,
1227
return RxxV;
1228
}
1229
1230
+#ifndef CONFIG_USER_ONLY
1231
+void HELPER(modify_ssr)(CPUHexagonState *env, uint32_t new, uint32_t old)
1232
+{
1233
+ BQL_LOCK_GUARD();
1234
+ hexagon_modify_ssr(env, new, old);
1235
+}
1236
+#endif
1237
+
1238
+
1239
/* Histogram instructions */
1240
1241
void HELPER(vhist)(CPUHexagonState *env)
@@ -1648,6 +1657,11 @@ static inline QEMU_ALWAYS_INLINE void resched(CPUHexagonState *env)
1657
}
1658
}
1659
1660
+void HELPER(resched)(CPUHexagonState *env)
1661
+{
1662
+ resched(env);
1663
+}
1664
+
1665
void HELPER(wait)(CPUHexagonState *env, uint32_t PC)
1666
{
1667
BQL_LOCK_GUARD();