diff options
Diffstat (limited to 'gcc/config/arm/arm.md')
| -rw-r--r-- | gcc/config/arm/arm.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 53b633d..9abe62c 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -309,6 +309,7 @@ ;; Predicates (include "predicates.md") +(include "constraints.md") ;;--------------------------------------------------------------------------- ;; Pipeline descriptions @@ -4443,7 +4444,7 @@ (define_split [(set (match_operand:SI 0 "register_operand" "") (match_operand:SI 1 "const_int_operand" ""))] - "TARGET_THUMB && CONST_OK_FOR_THUMB_LETTER (INTVAL (operands[1]), 'J')" + "TARGET_THUMB && satisfies_constraint_J (operands[1])" [(set (match_dup 0) (match_dup 1)) (set (match_dup 0) (neg:SI (match_dup 0)))] "operands[1] = GEN_INT (- INTVAL (operands[1]));" @@ -4452,7 +4453,7 @@ (define_split [(set (match_operand:SI 0 "register_operand" "") (match_operand:SI 1 "const_int_operand" ""))] - "TARGET_THUMB && CONST_OK_FOR_THUMB_LETTER (INTVAL (operands[1]), 'K')" + "TARGET_THUMB && satisfies_constraint_K (operands[1])" [(set (match_dup 0) (match_dup 1)) (set (match_dup 0) (ashift:SI (match_dup 0) (match_dup 2)))] " @@ -4905,7 +4906,7 @@ operands[1] = force_reg (HImode, operands[1]); } else if (GET_CODE (operands[1]) == CONST_INT - && !CONST_OK_FOR_THUMB_LETTER (INTVAL (operands[1]), 'I')) + && !satisfies_constraint_I (operands[1])) { /* Handle loading a large integer during reload. */ @@ -5138,7 +5139,7 @@ } else if (TARGET_THUMB && GET_CODE (operands[1]) == CONST_INT - && !CONST_OK_FOR_LETTER_P (INTVAL (operands[1]), 'I')) + && !satisfies_constraint_I (operands[1])) { /* Handle loading a large integer during reload. */ |
