From a1f7021242e827f69cd1c2ed5d5eaf33ddfcd196 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Fri, 29 Apr 2016 13:07:31 +0100 Subject: arc.md (*loadqi_update): Replace use of 'rI' constraint with 'rCm2' constraints to limit possible... 2016-04-29 Andrew Burgess * config/arc/arc.md (*loadqi_update): Replace use of 'rI' constraint with 'rCm2' constraints to limit possible immediate size. (*load_zeroextendqisi_update): Likewise. (*load_signextendqisi_update): Likewise. (*loadhi_update): Likewise. (*load_zeroextendhisi_update): Likewise. (*load_signextendhisi_update): Likewise. (*loadsi_update): Likewise. (*loadsf_update): Likewise. From-SVN: r235636 --- gcc/ChangeLog | 13 +++++++++++++ gcc/config/arc/arc.md | 16 ++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 219d423..b98598f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2016-04-29 Andrew Burgess + + * config/arc/arc.md (*loadqi_update): Replace use of 'rI' + constraint with 'rCm2' constraints to limit possible immediate + size. + (*load_zeroextendqisi_update): Likewise. + (*load_signextendqisi_update): Likewise. + (*loadhi_update): Likewise. + (*load_zeroextendhisi_update): Likewise. + (*load_signextendhisi_update): Likewise. + (*loadsi_update): Likewise. + (*loadsf_update): Likewise. + 2016-04-29 Uros Bizjak * config/i386/predicates.md (constm1_operand): Fix comparison. diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index d1a9159..c61107f 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -1254,7 +1254,7 @@ [(set (match_operand:QI 3 "dest_reg_operand" "=r,r") (match_operator:QI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))])) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))])) (set (match_operand:SI 0 "dest_reg_operand" "=r,r") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1266,7 +1266,7 @@ [(set (match_operand:SI 3 "dest_reg_operand" "=r,r") (zero_extend:SI (match_operator:QI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))]))) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))]))) (set (match_operand:SI 0 "dest_reg_operand" "=r,r") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1278,7 +1278,7 @@ [(set (match_operand:SI 3 "dest_reg_operand" "=r,r") (sign_extend:SI (match_operator:QI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))]))) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))]))) (set (match_operand:SI 0 "dest_reg_operand" "=r,r") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1304,7 +1304,7 @@ [(set (match_operand:HI 3 "dest_reg_operand" "=r,r") (match_operator:HI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))])) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))])) (set (match_operand:SI 0 "dest_reg_operand" "=w,w") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1316,7 +1316,7 @@ [(set (match_operand:SI 3 "dest_reg_operand" "=r,r") (zero_extend:SI (match_operator:HI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))]))) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))]))) (set (match_operand:SI 0 "dest_reg_operand" "=r,r") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1329,7 +1329,7 @@ [(set (match_operand:SI 3 "dest_reg_operand" "=r,r") (sign_extend:SI (match_operator:HI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))]))) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))]))) (set (match_operand:SI 0 "dest_reg_operand" "=w,w") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1354,7 +1354,7 @@ [(set (match_operand:SI 3 "dest_reg_operand" "=r,r") (match_operator:SI 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))])) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))])) (set (match_operand:SI 0 "dest_reg_operand" "=w,w") (plus:SI (match_dup 1) (match_dup 2)))] "" @@ -1378,7 +1378,7 @@ [(set (match_operand:SF 3 "dest_reg_operand" "=r,r") (match_operator:SF 4 "any_mem_operand" [(plus:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "rI,Cal"))])) + (match_operand:SI 2 "nonmemory_operand" "rCm2,Cal"))])) (set (match_operand:SI 0 "dest_reg_operand" "=w,w") (plus:SI (match_dup 1) (match_dup 2)))] "" -- cgit v1.1