diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-06-11 16:59:01 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-06-11 16:59:01 +0000 |
commit | 7fd308cffa3775f62d69b63bc9b1cefced10d817 (patch) | |
tree | d44d90996a8e4988ffeaca48c18b078c652a966b /gcc/ira-lives.c | |
parent | d9c35eee65f97e368a89148572ca8a43d0eb071c (diff) | |
download | gcc-7fd308cffa3775f62d69b63bc9b1cefced10d817.zip gcc-7fd308cffa3775f62d69b63bc9b1cefced10d817.tar.gz gcc-7fd308cffa3775f62d69b63bc9b1cefced10d817.tar.bz2 |
system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
gcc/
* system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
* genpreds.c (have_const_dbl_constraints): Delete.
(add_constraint): Don't set it.
(write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
* ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
constraints using the lookup_constraint logic.
* ira-lives.c (single_reg_class): Likewise.
* ira.c (ira_setup_alts): Likewise.
* lra-constraints.c (process_alt_operands): Likewise.
* recog.c (asm_operand_ok, constrain_operands): Likewise.
* reload.c (find_reloads): Likewise.
From-SVN: r211474
Diffstat (limited to 'gcc/ira-lives.c')
-rw-r--r-- | gcc/ira-lives.c | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/gcc/ira-lives.c b/gcc/ira-lives.c index e173ae3..af8ec2b 100644 --- a/gcc/ira-lives.c +++ b/gcc/ira-lives.c @@ -801,23 +801,6 @@ single_reg_class (const char *constraints, rtx op, rtx equiv_const) return NO_REGS; break; - case 'I': - case 'J': - case 'K': - case 'L': - case 'M': - case 'N': - case 'O': - case 'P': - if ((CONST_INT_P (op) - && CONST_OK_FOR_CONSTRAINT_P (INTVAL (op), c, constraints)) - || (equiv_const != NULL_RTX - && CONST_INT_P (equiv_const) - && CONST_OK_FOR_CONSTRAINT_P (INTVAL (equiv_const), - c, constraints))) - return NO_REGS; - break; - case 'E': case 'F': if (CONST_DOUBLE_AS_FLOAT_P (op) @@ -831,17 +814,9 @@ single_reg_class (const char *constraints, rtx op, rtx equiv_const) return NO_REGS; break; - case 'G': - case 'H': - if ((CONST_DOUBLE_AS_FLOAT_P (op) - && CONST_DOUBLE_OK_FOR_CONSTRAINT_P (op, c, constraints)) - || (equiv_const != NULL_RTX - && CONST_DOUBLE_AS_FLOAT_P (equiv_const) - && CONST_DOUBLE_OK_FOR_CONSTRAINT_P (equiv_const, - c, constraints))) - return NO_REGS; - break; - + case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': + case 'O': case 'P': + case 'G': case 'H': case 'r': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'h': case 'j': case 'k': case 'l': |