diff options
author | Lucas Coutinho <lucas.coutinho@eldorado.org.br> | 2022-07-01 10:35:01 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-07-18 13:59:43 -0300 |
commit | 2bfcb7a3160878ca04f2e49d85854c56974194a5 (patch) | |
tree | 932927f2cb125a6c3abed56231fe161e3a12ebc7 /target/ppc/translate | |
parent | a1b05c06255c2136bd4076017c48546035a8cb40 (diff) | |
download | qemu-2bfcb7a3160878ca04f2e49d85854c56974194a5.zip qemu-2bfcb7a3160878ca04f2e49d85854c56974194a5.tar.gz qemu-2bfcb7a3160878ca04f2e49d85854c56974194a5.tar.bz2 |
target/ppc: Move slbia to decodetree
Reviewed-by: Leandro Lupori <leandro.lupori@eldorado.org.br>
Signed-off-by: Lucas Coutinho <lucas.coutinho@eldorado.org.br>
Message-Id: <20220701133507.740619-6-lucas.coutinho@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/ppc/translate')
-rw-r--r-- | target/ppc/translate/storage-ctrl-impl.c.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/ppc/translate/storage-ctrl-impl.c.inc b/target/ppc/translate/storage-ctrl-impl.c.inc index d699a37..c454ce8 100644 --- a/target/ppc/translate/storage-ctrl-impl.c.inc +++ b/target/ppc/translate/storage-ctrl-impl.c.inc @@ -51,6 +51,20 @@ static bool trans_SLBIEG(DisasContext *ctx, arg_SLBIEG *a) return true; } +static bool trans_SLBIA(DisasContext *ctx, arg_SLBIA *a) +{ + REQUIRE_64BIT(ctx); + REQUIRE_INSNS_FLAGS(ctx, SLBI); + REQUIRE_SV(ctx); + +#if !defined(CONFIG_USER_ONLY) && defined(TARGET_PPC64) + gen_helper_SLBIA(cpu_env, tcg_constant_i32(a->ih)); +#else + qemu_build_not_reached(); +#endif + return true; +} + static bool do_tlbie(DisasContext *ctx, arg_X_tlbie *a, bool local) { #if defined(CONFIG_USER_ONLY) |