Re: [PATCH] arc: Avoid store/load pipeline hazard

2016-11-30 Thread Andrew Burgess
* Claudiu Zissulescu [2016-11-28 09:29:22 +]: > Hi Andrew, > > Approved, but ... Thanks. Committed as r243007 with the changes you suggested. Thanks again, Andrew > > > +/* Return true if a load instruction (CONSUMER) uses the same address > > +

RE: [PATCH] arc: Avoid store/load pipeline hazard

2016-11-28 Thread Claudiu Zissulescu
Hi Andrew, Approved, but ... > +/* Return true if a load instruction (CONSUMER) uses the same address > + as a store instruction (PRODUCER). This function is used to avoid > + st/ld address hazard in ARC700 cores. */ Missing space after dot. > + /* Peel the producer and the consumer for

[PATCH] arc: Avoid store/load pipeline hazard

2016-11-24 Thread Andrew Burgess
The patch below was primarily written (over several patches) by Claudiu (CC'd) as part of an out-of-tree ARC GCC port. I've pulled the work together into a single patch, and added a test. Claudiu is happy for this to be posted upstream. --- ARC700 targets have a store/load pipeline hazard, if