summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgcalc.c6
-rw-r--r--cgcode.c6
-rw-r--r--cgconst.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/cgcalc.c b/cgcalc.c
index a6a30eb..37015ae 100644
--- a/cgcalc.c
+++ b/cgcalc.c
@@ -2413,7 +2413,7 @@ void calculate_graph_register_uses (INSTRUCTION_GRAPH graph)
#endif
calculate_dyadic_non_commutative_data_operator (graph);
return;
- case GMOD:
+ case GREM:
#ifdef I486
case GREMU:
#endif
@@ -2743,7 +2743,7 @@ void count_graph (INSTRUCTION_GRAPH graph)
case GFSUB:
case GLSL:
case GLSR:
- case GMOD:
+ case GREM:
#ifdef I486
case GREMU:
#endif
@@ -2955,7 +2955,7 @@ void mark_graph_2 (register INSTRUCTION_GRAPH graph)
case GFSUB:
case GLSL:
case GLSR:
- case GMOD:
+ case GREM:
#ifdef I486
case GREMU:
#endif
diff --git a/cgcode.c b/cgcode.c
index 2d408ca..6773d70 100644
--- a/cgcode.c
+++ b/cgcode.c
@@ -261,7 +261,7 @@ int no_time_profiling;
#define g_fsub(g1,g2) g_instruction_2(GFSUB,(g1),(g2))
#define g_lsl(g1,g2) g_instruction_2(GLSL,(g1),(g2))
#define g_lsr(g1,g2) g_instruction_2(GLSR,(g1),(g2))
-#define g_mod(g1,g2) g_instruction_2(GMOD,(g1),(g2))
+#define g_rem(g1,g2) g_instruction_2(GREM,(g1),(g2))
#ifdef I486
# define g_remu(g1,g2) g_instruction_2(GREMU,(g1),(g2))
#endif
@@ -4638,10 +4638,10 @@ void code_remI (VOID)
if (!mc68000_flag){
#endif
INSTRUCTION_GRAPH graph_1,graph_2,graph_3;
-
+
graph_1=s_pop_b();
graph_2=s_get_b (0);
- graph_3=g_mod (graph_2,graph_1);
+ graph_3=g_rem (graph_2,graph_1);
s_put_b (0,graph_3);
#ifdef sparc
if (dot_rem_label==NULL)
diff --git a/cgconst.h b/cgconst.h
index d9cc686..cc8a44a 100644
--- a/cgconst.h
+++ b/cgconst.h
@@ -10,7 +10,7 @@ enum {
GFREGISTER, GFSQRT, GFSTORE, GFSTORE_R, GFSTORE_X, GFTAN,
GGFREGISTER, GGREGISTER, GKEEP, GINDIRECTION, GLEA, GLOAD,
GLOAD_I, GLOAD_ID, GLOAD_X, GLOAD_B_ID, GLOAD_B_X, GLOAD_DES_ID,
- GLOAD_DES_I, GLSL, GLSR, GMOD, GMOVEM, GMOVEMI,
+ GLOAD_DES_I, GLSL, GLSR, GREM, GMOVEM, GMOVEMI,
GMUL, GMUL_O, GNEG, GOR, GREGISTER, GSTORE,
GSTORE_R, GSTORE_B_X, GSTORE_X, GSUB, GSUB_O, GTEST_O,
GEXIT_IF