Browse Source

Use GPR_CLEAR instead of GPR_SET

binutils-2_11-branch
Nick Clifton 26 years ago
parent
commit
86e0da7a81
  1. 5
      sim/igen/ChangeLog
  2. 2
      sim/igen/gen-semantics.c

5
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.

2
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 */

Loading…
Cancel
Save