Re: [PATCH GCC]Introduce qsort_range interface for GCC vector

2017-10-17 Thread Richard Biener
On Mon, Oct 16, 2017 at 4:53 PM, Bin Cheng wrote: > Hi, > I was asked by Richi to replace insertion sort with qsort_range in loop > nest distribution patch. Although I believe stable sort (thus insertion) > sort is needed in that case, I also added qsort_range interface in vec.h. > The new interf

[PATCH GCC]Introduce qsort_range interface for GCC vector

2017-10-16 Thread Bin Cheng
Hi, I was asked by Richi to replace insertion sort with qsort_range in loop nest distribution patch. Although I believe stable sort (thus insertion) sort is needed in that case, I also added qsort_range interface in vec.h. The new interface might be useful in other places. Bootstrap and test on x8