OSDN Git Service

2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 May 2008 11:46:45 +0000 (11:46 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 May 2008 11:46:45 +0000 (11:46 +0000)
commit39a1a66f5e30580edaa3550668222db2ef09e543
tree8b144af648d4119d5962a025331d5ae887135564
parente9ff93b1e1540dfd1f609a92dfa66c27c673abfa
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136012 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/md.texi
gcc/recog.c
gcc/recog.h
gcc/regclass.c
gcc/reload.c