summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgaas.c2
-rw-r--r--cgas.c2
-rw-r--r--cgawas.c2
-rw-r--r--cgias.c6
-rw-r--r--cgiconst.h2
-rw-r--r--cgiwas.c2
-rw-r--r--cgpas.c2
-rw-r--r--cgpwas.c2
-rw-r--r--cgsas.c2
-rw-r--r--cgswas.c2
-rw-r--r--cgwas.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/cgaas.c b/cgaas.c
index 11ba458..6065f55 100644
--- a/cgaas.c
+++ b/cgaas.c
@@ -4246,7 +4246,7 @@ static void as_instructions (struct instruction *instruction)
case IDIVI:
as_div_rem_i_instruction (instruction,0);
break;
- case IMOD:
+ case IREM:
as_rem_instruction (instruction);
break;
case IREMI:
diff --git a/cgas.c b/cgas.c
index 7dc8b79..a64ca5e 100644
--- a/cgas.c
+++ b/cgas.c
@@ -3440,7 +3440,7 @@ static void write_instructions (struct instruction *instructions)
case IDIV:
as_div_instruction (instruction);
break;
- case IMOD:
+ case IREM:
as_mod_instruction (instruction);
break;
case IBMOVE:
diff --git a/cgawas.c b/cgawas.c
index bf9ece6..99a27c4 100644
--- a/cgawas.c
+++ b/cgawas.c
@@ -3072,7 +3072,7 @@ static void w_as_instructions (register struct instruction *instruction)
case IDIVI:
w_as_div_rem_i_instruction (instruction,0);
break;
- case IMOD:
+ case IREM:
w_as_rem_instruction (instruction);
break;
case IREMI:
diff --git a/cgias.c b/cgias.c
index 8260661..21faff2 100644
--- a/cgias.c
+++ b/cgias.c
@@ -2070,9 +2070,9 @@ static void as_parameter (int code1,int code2,struct parameter *parameter)
}
/*
- From The PowerPC Compiler WriterÕs Guide,
+ From The PowerPC Compiler Writer's Guide,
Warren, Henry S., Jr., IBM Research Report RC 18601 [1992]. Changing Division by a
- Constant to Multiplication in TwoÕs Complement Arithmetic, (December 21),
+ Constant to Multiplication in Two's Complement Arithmetic, (December 21),
Granlund, Torbjorn and Montgomery, Peter L. [1994]. SIGPLAN Notices, 29 (June), 61.
*/
@@ -4433,7 +4433,7 @@ static void as_instructions (struct instruction *instruction)
case IDIVU:
as_div_instruction (instruction,1);
break;
- case IMOD:
+ case IREM:
as_rem_instruction (instruction,0);
break;
case IREMI:
diff --git a/cgiconst.h b/cgiconst.h
index 053ba95..dcd1af1 100644
--- a/cgiconst.h
+++ b/cgiconst.h
@@ -20,7 +20,7 @@ enum {
IFCMP, IFCOS, IFDIV, IFMUL, IFNEG, IFREM, IFSEQ,
IFSGE, IFSGT, IFSIN, IFSLE, IFSLT, IFSNE, IFSUB,
IFTAN, IFTST, IFMOVE, IFMOVEL, IJMP, IJSR, ILEA,
- ILSL, ILSR, IMOD, IMOVE, IMOVEB, IMOVEDB, IMUL,
+ ILSL, ILSR, IREM, IMOVE, IMOVEB, IMOVEDB, IMUL,
INEG, IOR, IRTS, ISCHEDULE, ISEQ, ISGE, ISGEU,
ISGT, ISGTU, ISLE, ISLEU, ISLT, ISLTU, ISNE,
ISNO, ISO, ISUB, ITST, IWORD
diff --git a/cgiwas.c b/cgiwas.c
index eb7d9cd..540bec1 100644
--- a/cgiwas.c
+++ b/cgiwas.c
@@ -3513,7 +3513,7 @@ static void w_as_instructions (register struct instruction *instruction)
case IDIVU:
w_as_div_instruction (instruction,1);
break;
- case IMOD:
+ case IREM:
w_as_rem_instruction (instruction,0);
break;
case IREMI:
diff --git a/cgpas.c b/cgpas.c
index cc53b73..ef05e5b 100644
--- a/cgpas.c
+++ b/cgpas.c
@@ -2857,7 +2857,7 @@ static void write_instructions (struct instruction *instructions)
case IDIVU:
as_divu_instruction (instruction);
break;
- case IMOD:
+ case IREM:
as_rem_instruction (instruction);
break;
case IAND:
diff --git a/cgpwas.c b/cgpwas.c
index aae0098..b6e34cb 100644
--- a/cgpwas.c
+++ b/cgpwas.c
@@ -3225,7 +3225,7 @@ static void w_as_instructions (register struct instruction *instruction)
case IDIVU:
w_as_divu_instruction (instruction);
break;
- case IMOD:
+ case IREM:
w_as_rem_instruction (instruction);
break;
case IAND:
diff --git a/cgsas.c b/cgsas.c
index a763f7d..0200dde 100644
--- a/cgsas.c
+++ b/cgsas.c
@@ -1821,7 +1821,7 @@ static void as_instructions (register struct instruction *instruction)
case IDIV:
w_as_mul_or_div_instruction (instruction,dot_div_label);
break;
- case IMOD:
+ case IREM:
w_as_mod_instruction (instruction);
break;
case IAND:
diff --git a/cgswas.c b/cgswas.c
index 6b4aa94..916476d 100644
--- a/cgswas.c
+++ b/cgswas.c
@@ -2113,7 +2113,7 @@ static void w_as_instructions (register struct instruction *instruction)
case IDIV:
w_as_mul_or_div_instruction (instruction,".div");
break;
- case IMOD:
+ case IREM:
w_as_mod_instruction (instruction);
break;
case IAND:
diff --git a/cgwas.c b/cgwas.c
index fa6e809..2c5b8e6 100644
--- a/cgwas.c
+++ b/cgwas.c
@@ -1137,7 +1137,7 @@ static void w_as_instructions (register struct instruction *instruction)
case IEXG:
w_as_dyadic_instruction (instruction,"exg");
break;
- case IMOD:
+ case IREM:
w_as_mod_instruction (instruction);
break;
case IMOVEM: