genpreds.c (write_insn_constraint_len): Write function optimized for CONSTRAINT_LEN...
authorRichard Guenther <rguenther@suse.de>
Tue, 3 Apr 2007 08:31:27 +0000 (08:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 3 Apr 2007 08:31:27 +0000 (08:31 +0000)
commit5be527d081efb7c875ac3d1ae4df66c6e9388a81
tree8c622382d02806dd7598026ac12725405a3008b6
parent577565f9349ec94277f1867077056df1f59427f4
genpreds.c (write_insn_constraint_len): Write function optimized for CONSTRAINT_LEN implementation.

2007-04-03  Richard Guenther  <rguenther@suse.de>

* genpreds.c (write_insn_constraint_len): Write function
optimized for CONSTRAINT_LEN implementation.
(write_tm_preds_h): Output insn_constraint_len inline and
use it for CONSTRAINT_LEN.
(write_insn_preds_c): Don't output insn_constraint_len.
* doc/md.texi (define_register_constraint): Document multi-letter
constraints shall have the same length if they start with the same
letter.

From-SVN: r123451
gcc/ChangeLog
gcc/doc/md.texi
gcc/genpreds.c