diff options
author | Tom Musta <tommusta@gmail.com> | 2014-02-12 15:23:03 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:06:55 +0100 |
commit | f293f04ab5301f688ce7c9fe3006a787611c2485 (patch) | |
tree | 8e6e2fbf119f559e53f6686ad09d565a0408739c /target-ppc/helper.h | |
parent | 953f0f5842a8515fd85ae28ebcdc219f8e7b76fe (diff) | |
download | hqemu-f293f04ab5301f688ce7c9fe3006a787611c2485.zip hqemu-f293f04ab5301f688ce7c9fe3006a787611c2485.tar.gz |
target-ppc: Altivec 2.07: Add Vector Count Leading Zeroes
This patch adds the Vector Count Leading Zeroes instructions introduced
in Power ISA Version 2.07 - vclzb, vclzh, vclzw and vclzd.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index c20d50e..7ca219f 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -273,6 +273,11 @@ DEF_HELPER_4(vcfsx, void, env, avr, avr, i32) DEF_HELPER_4(vctuxs, void, env, avr, avr, i32) DEF_HELPER_4(vctsxs, void, env, avr, avr, i32) +DEF_HELPER_2(vclzb, void, avr, avr) +DEF_HELPER_2(vclzh, void, avr, avr) +DEF_HELPER_2(vclzw, void, avr, avr) +DEF_HELPER_2(vclzd, void, avr, avr) + DEF_HELPER_2(xsadddp, void, env, i32) DEF_HELPER_2(xssubdp, void, env, i32) DEF_HELPER_2(xsmuldp, void, env, i32) |