diff mc-code-arm.c @ 450:eaf9e2746c83 simple-exp-in-parallel-assign

parallel assign for simple expr. (too complex solution) statement expression (GNU extension fix) non_lazy function reference in PowerPC
author kono
date Sun, 28 Nov 2004 03:28:38 +0900
parents c55363eff5e5
children b8f95294eb77
line wrap: on
line diff
--- a/mc-code-arm.c	Thu Nov 25 16:56:26 2004 +0900
+++ b/mc-code-arm.c	Sun Nov 28 03:28:38 2004 +0900
@@ -293,7 +293,6 @@
 static int code_l2(long long ll);
 #endif
 
-static void code_save_stacks();
 static void code_save_input_registers(int dots);
 static void    set_ireg(int,int);
 #if FLOAT_CODE
@@ -2244,7 +2243,7 @@
 	case DPOSTINC : case DPREINC : case DASSOP :
 	case DOP+LT : case DOP+LE : case DOP+GT : case DOP+GE :
 	case DOP+EQ : case DOP+NEQ:
-	case RBIT_FIELD: case BASS: case BASSOP:
+	case RBIT_FIELD: case BASS: case BASSOP: case LCALL:
 	return 1;
     }
     return 0;
@@ -3408,6 +3407,18 @@
     set_freg(FREG_FREGISTER,0);
 }
 
+void
+code_label_call(int l)
+{
+        printf("\tbl\tL_%d\n",l);
+}
+
+void
+code_ret()
+{
+	printf("\tmov\tpc, lr\n");
+	control=0;
+}
 
 void
 leave(int control0, char *name)