aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sh4/translate.c')
-rw-r--r--target-sh4/translate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index bb6786a03b..3564a67613 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -256,7 +256,11 @@ void _decode_opc(DisasContext * ctx)
gen_op_clrt();
return;
case 0x0038: /* ldtlb */
+#if defined(CONFIG_USER_ONLY)
assert(0); /* XXXXX */
+#else
+ gen_op_ldtlb();
+#endif
return;
case 0x002b: /* rte */
CHECK_NOT_DELAY_SLOT gen_op_rte();