[Patch] Teach genrecog/genoutput that scratch registers require write constraint...
authorJames Greenhalgh <james.greenhalgh@arm.com>
Fri, 19 Sep 2014 10:37:40 +0000 (10:37 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 19 Sep 2014 10:37:40 +0000 (10:37 +0000)
commit5fd4bc96306dccae16acb28c38ab63f213555c04
tree8bd390b80abad2692fc08820202511642a15bafb
parent727dc1217d05e7879a782b534deb0ec65bce5c91
[Patch] Teach genrecog/genoutput that scratch registers require write  constraint modifiers

gcc/

* doc/md.texi (Modifiers): Consistently use "read/write"
nomenclature rather than "input/output".
* genrecog.c (constraints_supported_in_insn_p): New.
(validate_pattern): If needed, also check constraints on
MATCH_SCRATCH operands.
* genoutput.c (validate_insn_alternatives): Catch earlyclobber
operands with no '=' or '+' modifier.

From-SVN: r215388
gcc/ChangeLog
gcc/doc/md.texi
gcc/genoutput.c
gcc/genrecog.c