Re: [PATCH 2/4] gcc/arc: Remove load_update_operand predicate

2015-12-19 Thread Joern Wolfgang Rennecke
On 18/12/15 12:52, Andrew Burgess wrote: gcc/ChangeLog: * config/arc/arc.md (*loadqi_update): Use new 'any_mem_operand' and fix RTL pattern to include the plus. (*load_zeroextendqisi_update): Likewise. (*load_signextendqisi_update): Likewise. (*loadhi_up

Re: [PATCH 2/4] gcc/arc: Remove load_update_operand predicate

2015-12-18 Thread Andrew Burgess
* Joern Wolfgang Rennecke [2015-12-17 10:20:44 +]: > On 16/12/15 00:15, Andrew Burgess wrote: > > > > * config/arc/arc.md (*loadqi_update): Use 'memory_operand' and fix > > RTL pattern to include the plus. > > (*load_zeroextendqisi_update): Likewise. > > (*load_signextendqisi_

Re: [PATCH 2/4] gcc/arc: Remove load_update_operand predicate

2015-12-17 Thread Joern Wolfgang Rennecke
On 16/12/15 00:15, Andrew Burgess wrote: * config/arc/arc.md (*loadqi_update): Use 'memory_operand' and fix RTL pattern to include the plus. (*load_zeroextendqisi_update): Likewise. (*load_signextendqisi_update): Likewise. (*loadhi_update): Likewise.

[PATCH 2/4] gcc/arc: Remove load_update_operand predicate

2015-12-15 Thread Andrew Burgess
The use of the arc specific predicate load_update_operand is broken, this commit fixes the error, and in the process removes the need for load_update_operand altogether. Currently load_update_operand is used with match_operator, the load_update_operand checks that the operand is a MEM operand, wit