genattrtab.c (insn_ent): Replace insn_code...
authorRichard Sandiford <rsandifo@redhat.com>
Fri, 13 Aug 2004 16:43:04 +0000 (16:43 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 13 Aug 2004 16:43:04 +0000 (16:43 +0000)
commit1e9c84051f28ba061d23b640940eda3e01863ee4
treebb94b947de49dc4151bc99a73621177f77fa655e
parent1e5f1716392c7915c55d95329ae59d1acce8592a
genattrtab.c (insn_ent): Replace insn_code...

* genattrtab.c (insn_ent): Replace insn_code, insn_index and lineno
fields with a pointer to the instruction definition.
(get_attr_value, fill_attr, make_length_attrs, remove_insn_ent)
(insert_insn_ent, simplify_test_exp, optimize_attrs, write_attr_get)
(write_attr_case, write_const_num_delay_slots): Update accordingly.
(write_attr_case, write_const_num_delay_slots): Write the name of
an insn next to its case statement.
* genoutput.c (data): Add a filename field.
(gen_insn, gen_peephole, gen_expand, gen_split): Set it.
(output_insn_data): Print the location of each insn definition.
* genrecog.c (write_action): Print the name of an insn above
the statement that returns its code.

From-SVN: r85947
gcc/ChangeLog
gcc/genattrtab.c
gcc/genoutput.c
gcc/genrecog.c