diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-04 22:10:49 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-04 22:10:49 +0000 |
commit | e4e6bee78704c431547714c0bc1eea537e1fb3ed (patch) | |
tree | 4c752c07e3610bbd56a776ea32bc20aa67f16e8a /target-ppc/translate.c | |
parent | 27a4edb310f1fb5cdcdbb8426efcf468d062d9b8 (diff) |
Add vsplt{b,h,w} 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@6174 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 001045b041..64e0e6e34a 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -6308,6 +6308,10 @@ GEN_VXFORM(vrlw, 2, 2); tcg_temp_free_ptr(rd); \ } +GEN_VXFORM_UIMM(vspltb, 6, 8); +GEN_VXFORM_UIMM(vsplth, 6, 9); +GEN_VXFORM_UIMM(vspltw, 6, 10); + GEN_HANDLER(vsldoi, 0x04, 0x16, 0xFF, 0x00000400, PPC_ALTIVEC) { TCGv_ptr ra, rb, rd; |