* config/ia64/ia64.c (rws_access_reg): New local write_count. If
is_predicate_reg, then take max write_count of register pair.
From-SVN: r34915
+2000-07-07 Jim Wilson <wilson@cygnus.com>
+
+ * config/ia64/ia64.c (rws_access_reg): New local write_count. If
+ is_predicate_reg, then take max write_count of register pair.
+
2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* tradcpp.c (main): Rename label `include' to `add_include' to
if (flags.is_write)
{
+ int write_count;
+
/* One insn writes same reg multiple times? */
if (rws_insn[regno].write_count > 0)
abort ();
if (is_predicate_reg)
rws_update (rws_insn, regno + 1, flags, pred);
- switch (rws_sum[regno].write_count)
+ /* ??? Likewise. */
+ write_count = rws_sum[regno].write_count;
+ if (is_predicate_reg)
+ write_count = MAX (write_count, rws_sum[regno + 1].write_count);
+
+ switch (write_count)
{
case 0:
/* The register has not been written yet. */