diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 12:54:53 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 12:54:53 +0000 |
commit | 603fcccece43303c623df2561f85ab2baba95e5f (patch) | |
tree | a0899a3380000364faffe79d80844542fd24a17c /target-ppc/op.c | |
parent | b9ef45ffa8df1b63b8d126910f62541fa355155e (diff) |
Make Alpha and PowerPC targets use shared helpers
for clz, clo, ctz, cto and ctpop.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3466 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r-- | target-ppc/op.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index 0146d33c3d..4c170d84b6 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -22,6 +22,7 @@ #include "config.h" #include "exec.h" +#include "host-utils.h" #include "helper_regs.h" #include "op_helper.h" @@ -1508,14 +1509,14 @@ void OPPROTO op_andi_T1_64 (void) /* count leading zero */ void OPPROTO op_cntlzw (void) { - T0 = _do_cntlzw(T0); + do_cntlzw(); RETURN(); } #if defined(TARGET_PPC64) void OPPROTO op_cntlzd (void) { - T0 = _do_cntlzd(T0); + do_cntlzd(); RETURN(); } #endif |