diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-03 13:31:40 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-03 13:31:40 +0000 |
commit | 7872c51c1a2e78f7937c8f6efb47d9a8274135d8 (patch) | |
tree | 68c926f10b53bd1806ab9b71e10eac90e12d7c60 /target-ppc/helper.h | |
parent | 8e27dd6f09df9ca028edffae5df5b562d9d40cae (diff) |
Add v{add,sub}u{b,h,w}m 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@6155 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index 6b5728c5b2..e69fceb57c 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -96,6 +96,15 @@ DEF_HELPER_1(fres, i64, i64) DEF_HELPER_1(frsqrte, i64, i64) DEF_HELPER_3(fsel, i64, i64, i64, i64) +#define dh_alias_avr ptr +#define dh_ctype_avr ppc_avr_t * + +DEF_HELPER_3(vaddubm, void, avr, avr, avr) +DEF_HELPER_3(vadduhm, void, avr, avr, avr) +DEF_HELPER_3(vadduwm, void, avr, avr, avr) +DEF_HELPER_3(vsububm, void, avr, avr, avr) +DEF_HELPER_3(vsubuhm, void, avr, avr, avr) +DEF_HELPER_3(vsubuwm, void, avr, avr, avr) DEF_HELPER_1(efscfsi, i32, i32) DEF_HELPER_1(efscfui, i32, i32) DEF_HELPER_1(efscfuf, i32, i32) |