summaryrefslogtreecommitdiffstats
path: root/target/ppc/translate
diff options
context:
space:
mode:
authorVíctor Colombo2022-07-15 22:54:39 +0200
committerDaniel Henrique Barboza2022-09-20 15:54:06 +0200
commit53ae2aeb940729d7f6f42ce734dc65d5332260c2 (patch)
tree1caa4d8b450ea4638c7bc0637f7388fa87fb3dff /target/ppc/translate
parenttarget/ppc: Implement hashst and hashchk (diff)
downloadqemu-53ae2aeb940729d7f6f42ce734dc65d5332260c2.tar.gz
qemu-53ae2aeb940729d7f6f42ce734dc65d5332260c2.tar.xz
qemu-53ae2aeb940729d7f6f42ce734dc65d5332260c2.zip
target/ppc: Implement hashstp and hashchkp
Implementation for instructions hashstp and hashchkp, the privileged versions of hashst and hashchk, which were added in Power ISA 3.1B. Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br> Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br> Message-Id: <20220715205439.161110-4-victor.colombo@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/ppc/translate')
-rw-r--r--target/ppc/translate/fixedpoint-impl.c.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/ppc/translate/fixedpoint-impl.c.inc b/target/ppc/translate/fixedpoint-impl.c.inc
index 41c06de8a2..1ba56cbed5 100644
--- a/target/ppc/translate/fixedpoint-impl.c.inc
+++ b/target/ppc/translate/fixedpoint-impl.c.inc
@@ -572,3 +572,5 @@ static bool do_hash(DisasContext *ctx, arg_X *a, bool priv,
TRANS(HASHST, do_hash, false, gen_helper_HASHST)
TRANS(HASHCHK, do_hash, false, gen_helper_HASHCHK)
+TRANS(HASHSTP, do_hash, true, gen_helper_HASHSTP)
+TRANS(HASHCHKP, do_hash, true, gen_helper_HASHCHKP)