Skip to contentSkip to conversation

[5084] Revert commits 5082 and 5083

Qemu-devel Aurelien Jarno 1 participant 1 message Aug 24, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5084

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5084
Author:   aurel32
Date:     2008-08-24 23:16:35 +0000 (Sun, 24 Aug 2008)

Log Message:
-----------
Revert commits 5082 and 5083

Modified Paths:
--------------
trunk/target-ppc/op.c
trunk/target-ppc/op_helper.c
trunk/target-ppc/op_helper.h
trunk/target-ppc/translate.c

Removed Paths:
-------------
trunk/target-ppc/helper.h

Deleted: trunk/target-ppc/helper.h
===================================================================

target-ppc/helper.h +0 -21
@@ -1,21 +0,0 @@
-#ifndef DEF_HELPER
-#define DEF_HELPER(ret, name, params) ret name params;
-#endif
-
-DEF_HELPER(target_ulong, do_load_cr, (void))
-DEF_HELPER(void, do_print_mem_EA, (target_ulong))
-DEF_HELPER(void, do_store_cr, (uint32_t))
-
-#if !defined (CONFIG_USER_ONLY)
-DEF_HELPER(void, do_store_msr, (target_ulong))
-#if defined(TARGET_PPC64)
-DEF_HELPER(void, do_store_msr_32, (target_ulong))
-#endif
-#endif
-
-DEF_HELPER(target_ulong, do_popcntb, (target_ulong))
-#if defined(TARGET_PPC64)
-DEF_HELPER(target_ulong, do_popcntb_64, (target_ulong))
-#endif
-
-

Modified: trunk/target-ppc/op.c
===================================================================

target-ppc/op.c +87 -0

122 lines not on this page · raw message

Modified: trunk/target-ppc/op_helper.c
===================================================================

target-ppc/op_helper.c +19 -27

85 lines not on this page · raw message

Modified: trunk/target-ppc/op_helper.h
===================================================================

target-ppc/op_helper.h +6 -0
@@ -51,6 +51,7 @@
 void do_print_mem_EA (target_ulong EA);
 
 /* Registers load and stores */
+void do_load_cr (void);
 void do_store_cr (uint32_t mask);
 #if defined(TARGET_PPC64)
 void do_store_pri (int prio);
@@ -87,6 +88,10 @@
 void do_subfzeo_64 (void);
 void do_srad (void);
 #endif
+void do_popcntb (void);
+#if defined(TARGET_PPC64)
+void do_popcntb_64 (void);
+#endif
 
 /* Floating-point arithmetic helpers */
 void do_compute_fprf (int set_class);
@@ -133,6 +138,7 @@
 void do_td (int flags);
 #endif
 #if !defined(CONFIG_USER_ONLY)
+void do_store_msr (void);
 void do_rfi (void);
 #if defined(TARGET_PPC64)
 void do_rfid (void);

Modified: trunk/target-ppc/translate.c
===================================================================

target-ppc/translate.c +19 -51

172 lines not on this page · raw message