summary refs log tree commit diff stats
path: root/target/sparc/ldst_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-11-04 22:13:06 -0700
committerRichard Henderson <richard.henderson@linaro.org>2024-06-05 09:11:17 -0700
commiteeb3f592cb364f9d5c70c5525fd90e43b216012d (patch)
tree537923005746316e59b795ea639cd7036f3e8e27 /target/sparc/ldst_helper.c
parent6fbc032cbc83ba80009c4a2a18e4d5578bc9ba35 (diff)
downloadfocaccia-qemu-eeb3f592cb364f9d5c70c5525fd90e43b216012d.tar.gz
focaccia-qemu-eeb3f592cb364f9d5c70c5525fd90e43b216012d.zip
target/sparc: Implement monitor ASIs
Ignore the "monitor" portion and treat them the same
as their base ASIs.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/sparc/ldst_helper.c')
-rw-r--r--target/sparc/ldst_helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/sparc/ldst_helper.c b/target/sparc/ldst_helper.c
index 7bdf99e0c0..2d48e98bf4 100644
--- a/target/sparc/ldst_helper.c
+++ b/target/sparc/ldst_helper.c
@@ -1395,6 +1395,10 @@ uint64_t helper_ld_asi(CPUSPARCState *env, target_ulong addr,
     case ASI_TWINX_PL: /* Primary, twinx, LE */
     case ASI_TWINX_S:  /* Secondary, twinx */
     case ASI_TWINX_SL: /* Secondary, twinx, LE */
+    case ASI_MON_P:
+    case ASI_MON_S:
+    case ASI_MON_AIUP:
+    case ASI_MON_AIUS:
         /* These are always handled inline.  */
         g_assert_not_reached();