summaryrefslogtreecommitdiff
path: root/cgcalc.c
diff options
context:
space:
mode:
authorJohn van Groningen2005-01-13 15:17:20 +0000
committerJohn van Groningen2005-01-13 15:17:20 +0000
commit8146556080c7d290814918cffc67e896edefea79 (patch)
tree9c7f05e8d6e2ff514daf5f92247ee7e30a11b0e9 /cgcalc.c
parentuse r_to_i_buffer only for PowerPC and not for IA32 (diff)
add divU for the PowerPC
Diffstat (limited to 'cgcalc.c')
-rw-r--r--cgcalc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgcalc.c b/cgcalc.c
index c0c75b2..7c14d0c 100644
--- a/cgcalc.c
+++ b/cgcalc.c
@@ -2275,7 +2275,7 @@ void calculate_graph_register_uses (INSTRUCTION_GRAPH graph)
calculate_dyadic_non_commutative_operator (graph);
return;
case GDIV:
-#ifdef I486
+#if defined (I486) || defined (G_POWER)
case GDIVU:
#endif
calculate_dyadic_non_commutative_data_operator (graph);
@@ -2485,7 +2485,7 @@ void count_graph (INSTRUCTION_GRAPH graph)
case GCMP_LT:
case GCMP_LTU:
case GDIV:
-#ifdef I486
+#if defined (I486) || defined (G_POWER)
case GDIVU:
#endif
case GFADD:
@@ -2650,7 +2650,7 @@ void mark_graph_2 (register INSTRUCTION_GRAPH graph)
case GCMP_LT:
case GCMP_LTU:
case GDIV:
-#ifdef I486
+#if defined (I486) || defined (G_POWER)
case GDIVU:
#endif
case GFADD:
@@ -2830,7 +2830,7 @@ void mark_graph_1 (register INSTRUCTION_GRAPH graph)
case GCMP_LT:
case GCMP_LTU:
case GDIV:
-#ifdef I486
+#if defined (I486) || defined (G_POWER)
case GDIVU:
#endif
case GFADD: