summaryrefslogtreecommitdiff
path: root/cgcode.c
diff options
context:
space:
mode:
authorJohn van Groningen2008-12-18 15:15:09 +0000
committerJohn van Groningen2008-12-18 15:15:09 +0000
commita6301c75cf98934c3c7be53909850d34c801c699 (patch)
treeac12c8095ce70f047391dde1f5e9bda4856a49e5 /cgcode.c
parentrename IMOD to IREM (diff)
rename GMOD to GREM
Diffstat (limited to 'cgcode.c')
-rw-r--r--cgcode.c6
1 files changed, 3 insertions, 3 deletions
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)