arc.md (*loadqi_update): Replace use of 'rI' constraint with 'rCm2' constraints to limit possible...
2016-04-29 Andrew Burgess <andrew.burgess@embecosm.com> * 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
This commit is contained in:
parent
2ff0cbe5fe
commit
a1f7021242
2 changed files with 21 additions and 8 deletions
|
@ -1,3 +1,16 @@
|
|||
2016-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* 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 <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/predicates.md (constm1_operand): Fix comparison.
|
||||
|
|
|
@ -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)))]
|
||||
""
|
||||
|
|
Loading…
Add table
Reference in a new issue