reload.c: (find_reloads): Skip alternatives according to the "enabled" attribute.
authorAndreas Krebbel <krebbel1@de.ibm.com>
Tue, 27 May 2008 11:46:45 +0000 (11:46 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 27 May 2008 11:46:45 +0000 (11:46 +0000)
commit7ac28727fb6149d6e9301e501a94080cb80be27a
tree8b144af648d4119d5962a025331d5ae887135564
parenta4edaf835918f2dd4a2c36659b3639438a0d1a38
reload.c: (find_reloads): Skip alternatives according to the "enabled" attribute.

2008-05-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* reload.c: (find_reloads): Skip alternatives according to the
"enabled" attribute. Constify the constraint variable.
* recog.c (get_attr_enabled): Add default implementation.
(extract_insn): Set the alternative_enabled_p array
in the recog_data struct.
(preprocess_constraints, constrain_operands): Skip
alternatives according to the "enabled" attribute
* recog.h (struct recog_data): New field alternative_enabled_p.
(skip_alternative): New inline function.
* regclass.c: (record_operand_costs): Check the "enabled"
attribute.
(record_reg_classes): Skip alternative according to the
"enabled" attribute.

* doc/md.texi: Add documention for the "enabled" attribute.

From-SVN: r136012
gcc/ChangeLog
gcc/doc/md.texi
gcc/recog.c
gcc/recog.h
gcc/regclass.c
gcc/reload.c