summaryrefslogtreecommitdiffstats
path: root/target/ppc/helper.h
diff options
context:
space:
mode:
authorLijun Pan2020-07-24 06:58:42 +0200
committerDavid Gibson2020-08-12 05:16:27 +0200
commitf3e0d864abb4de0a324cf7e77cb242b57ccb45c3 (patch)
treeea369c1095032897b708cb3343ea68eb19434728 /target/ppc/helper.h
parenttarget/ppc: add vmulld to INDEX_op_mul_vec case (diff)
downloadqemu-f3e0d864abb4de0a324cf7e77cb242b57ccb45c3.tar.gz
qemu-f3e0d864abb4de0a324cf7e77cb242b57ccb45c3.tar.xz
qemu-f3e0d864abb4de0a324cf7e77cb242b57ccb45c3.zip
target/ppc: add vmulh{su}w instructions
vmulhsw: Vector Multiply High Signed Word vmulhuw: Vector Multiply High Unsigned Word Signed-off-by: Lijun Pan <ljp@linux.ibm.com> Message-Id: <20200724045845.89976-4-ljp@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/helper.h')
-rw-r--r--target/ppc/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/ppc/helper.h b/target/ppc/helper.h
index 032da717f7..c218bb13ec 100644
--- a/target/ppc/helper.h
+++ b/target/ppc/helper.h
@@ -184,6 +184,8 @@ DEF_HELPER_3(vmulosw, void, avr, avr, avr)
DEF_HELPER_3(vmuloub, void, avr, avr, avr)
DEF_HELPER_3(vmulouh, void, avr, avr, avr)
DEF_HELPER_3(vmulouw, void, avr, avr, avr)
+DEF_HELPER_3(vmulhsw, void, avr, avr, avr)
+DEF_HELPER_3(vmulhuw, void, avr, avr, avr)
DEF_HELPER_3(vslo, void, avr, avr, avr)
DEF_HELPER_3(vsro, void, avr, avr, avr)
DEF_HELPER_3(vsrv, void, avr, avr, avr)