diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-04 22:12:09 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-04 22:12:09 +0000 |
commit | 5335a145a178630a8d157cd927c5bd697d1e362e (patch) | |
tree | c14aad9174d19a30394cbbf8b71103e5f950ec0d /target-ppc/translate.c | |
parent | 00d3b8f59bb58e4c7ae52fc73d55d2f27e664443 (diff) |
Add vpks{h, w}{s, u}s, vpku{h, w}us, and vpku{h, w}um instructions.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6182 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 112d05d567..2b814fe0b0 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -6273,6 +6273,14 @@ GEN_VXFORM(vsubcuw, 0, 22); GEN_VXFORM(vrlb, 2, 0); GEN_VXFORM(vrlh, 2, 1); GEN_VXFORM(vrlw, 2, 2); +GEN_VXFORM(vpkuhum, 7, 0); +GEN_VXFORM(vpkuwum, 7, 1); +GEN_VXFORM(vpkuhus, 7, 2); +GEN_VXFORM(vpkuwus, 7, 3); +GEN_VXFORM(vpkshus, 7, 4); +GEN_VXFORM(vpkswus, 7, 5); +GEN_VXFORM(vpkshss, 7, 6); +GEN_VXFORM(vpkswss, 7, 7); #define GEN_VXFORM_NOA(name, opc2, opc3) \ GEN_HANDLER(name, 0x04, opc2, opc3, 0x001f0000, PPC_ALTIVEC) \ |