diff mc-code-powerpc.c @ 709:8b54c40081de

*** empty log message ***
author kono
date Wed, 24 Oct 2007 21:54:26 +0900
parents 0554b7f985ee
children 35e6841ba01a
line wrap: on
line diff
--- a/mc-code-powerpc.c	Wed Oct 24 16:23:52 2007 +0900
+++ b/mc-code-powerpc.c	Wed Oct 24 21:54:26 2007 +0900
@@ -2289,8 +2289,8 @@
 	    }
 	}
     } else if (is_longlong_reg(reg)) {
-	use_input_reg(regv_h(reg),0);
-	use_input_reg(regv_l(reg),0);
+	use_input_reg(regv_h(reg),mode);
+	use_input_reg(regv_l(reg),mode);
     } else if (is_float_reg(reg)) {
 	if (freg&&reg == freg) {
 	    if (creg==freg) creg = ireg; 
@@ -2305,10 +2305,10 @@
     int t=caddr(e3);
     int e4 = car(e3);
     reg_arg_list = list2(arg,reg_arg_list);
-    g_expr_u(assign_expr0(arg,e4,t,t));
     if (car(arg)==REGISTER||car(arg)==DREGISTER||
 	car(arg)==FREGISTER||car(arg)==LREGISTER)
 	use_input_reg(cadr(arg),1);
+    g_expr_u(assign_expr0(arg,e4,t,t));
     car(e3) = arg;
     return reg_arg_list;
 }