summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-05-29 19:28:53 +0000
committerNick Clifton <nickc@redhat.com>2000-05-29 19:28:53 +0000
commita323b504bb5577ca94a7925b581ebba65eb5203a (patch)
tree4f4f13d6ba5c24e2d319541b6ba2e37e977fbb32
parent0a923dc3962f99eb2f28c9b95994005674d14323 (diff)
downloadgdb-a323b504bb5577ca94a7925b581ebba65eb5203a.tar.gz
Use GPR_CLEAR instead of GPR_SET
-rw-r--r--sim/igen/ChangeLog5
-rw-r--r--sim/igen/gen-semantics.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
index e9f10223a46..ea88fb0ad06 100644
--- a/sim/igen/ChangeLog
+++ b/sim/igen/ChangeLog
@@ -2,6 +2,11 @@ Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
+2000-04-12 Frank Ch. Eigler <fche@redhat.com>
+
+ * gen-semantics.c (print_semantic_body): Use GPR_CLEAR(N) instead
+ of GPR_SET(N,0) for gen-zero-rN.
+
Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (SIM_WARNINGS): Replace this with.
diff --git a/sim/igen/gen-semantics.c b/sim/igen/gen-semantics.c
index 3acd6d802e0..2994f828472 100644
--- a/sim/igen/gen-semantics.c
+++ b/sim/igen/gen-semantics.c
@@ -246,7 +246,7 @@ print_semantic_body (lf *file,
{
lf_printf (file, "\n");
lf_printf (file, "/* Architecture expects REG to be zero */\n");
- lf_printf (file, "GPR_SET(%d, 0);\n", options.gen.zero_reg_nr);
+ lf_printf (file, "GPR_CLEAR(%d);\n", options.gen.zero_reg_nr);
}
/* generate the code (or at least something */