[Patch] Teach genrecog/genoutput that scratch registers require write constraint...
commitffcd6b166b2daefad6142b1b7f965074a04685cb
authorjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Sep 2014 10:37:40 +0000 (19 10:37 +0000)
committerjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Sep 2014 10:37:40 +0000 (19 10:37 +0000)
tree8bd390b80abad2692fc08820202511642a15bafb
parent7a7ef3421340a917d4b7c5c435e4cfacf651715c
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215388 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/md.texi
gcc/genoutput.c
gcc/genrecog.c