]> git.ipfire.org Git - thirdparty/gcc.git/commit
md.texi (define_bypass): Say that the instruction names can be filename-style globs.
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 11 Aug 2011 08:25:41 +0000 (08:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 11 Aug 2011 08:25:41 +0000 (08:25 +0000)
commitf9bf5a8e96ec9c6f04877a0c4922201d80b80a6e
treefcc79dff36759b0668e8d8f0629a52b95e1330eb
parent7ece388150bbbfb0c946b28efa43ad1eeb2f0bf8
md.texi (define_bypass): Say that the instruction names can be filename-style globs.

gcc/
* doc/md.texi (define_bypass): Say that the instruction names can
be filename-style globs.
* Makefile.in (FNMATCH_H): Define.
(build/genattrtab.o, build/genautomata.o): Depend on $(FNMATCH_H).
* genattrtab.c: Include fnmatch.h.
(bypass_list): Change field name from "insn" to "pattern".
(gen_bypass_1): Update accordingly.
(process_bypasses): Use fnmatch to check for matches between
insn reservations and define_bypasses.
* genautomata.c: Include fnmatch.h.
(bypass_decl): Rename in_insn_name and out_insn_name to in_pattern
and out_pattern respectively.
(gen_bypass, insert_bypass): Update accordingly.
(for_each_matching_insn, process_bypass_2, process_bypass_1)
(process_bypass): New functions.
(process_decls): Use process_bypass.  Update after field name changes.

From-SVN: r177649
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/md.texi
gcc/genattrtab.c
gcc/genautomata.c