aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-27 01:32:19 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-27 01:32:19 +0000
commit40d0591e2c4922f545ebf1c9a3bd89e73e8428b4 (patch)
tree7a745b2c34aacfc225b34eacfe7c2504fba95cd1 /target-ppc/op.c
parent92a343da3f50db3130f988b14650eb09e9748d11 (diff)
Fixes for PowerPC 64 rotate and mask instructions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3247 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 93c463e30f..976eb53046 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -1353,6 +1353,21 @@ void OPPROTO op_andi_T1 (void)
RETURN();
}
+#if defined(TARGET_PPC64)
+void OPPROTO op_andi_T0_64 (void)
+{
+ T0 &= ((uint64_t)PARAM1 << 32) | PARAM2;
+ RETURN();
+}
+
+void OPPROTO op_andi_T1_64 (void)
+{
+ T1 &= ((uint64_t)PARAM1 << 32) | PARAM2;
+ RETURN();
+}
+#endif
+
+
/* count leading zero */
void OPPROTO op_cntlzw (void)
{