From 426613dbf8cd1120f9e47fb636c4c03bc1ef586c Mon Sep 17 00:00:00 2001 From: j_mayer Date: Fri, 23 Mar 2007 09:45:27 +0000 Subject: Add missing PowerPC 64 instructions PowerPC 64 fixes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2530 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/op.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'target-ppc/op.c') diff --git a/target-ppc/op.c b/target-ppc/op.c index 1e05842..8bbbd62 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -1721,6 +1721,29 @@ PPC_OP(fctiwz) RETURN(); } +#if defined(TARGET_PPC64) +/* fcfid - fcfid. */ +PPC_OP(fcfid) +{ + do_fcfid(); + RETURN(); +} + +/* fctid - fctid. */ +PPC_OP(fctid) +{ + do_fctid(); + RETURN(); +} + +/* fctidz - fctidz. */ +PPC_OP(fctidz) +{ + do_fctidz(); + RETURN(); +} +#endif + /*** Floating-Point compare ***/ /* fcmpu */ PPC_OP(fcmpu) @@ -1803,6 +1826,18 @@ void OPPROTO op_rfi_32 (void) do_rfi_32(); RETURN(); } + +void OPPROTO op_rfid (void) +{ + do_rfid(); + RETURN(); +} + +void OPPROTO op_rfid_32 (void) +{ + do_rfid_32(); + RETURN(); +} #endif #endif -- cgit v1.1