Re: [PATCH] testsuite/rs6000: Add option to ignore vect cost model

2020-07-16 Thread Kewen.Lin via Gcc-patches
Hi, on 2020/7/17 上午4:31, Segher Boessenkool wrote: > Hi! > > On Thu, Jul 16, 2020 at 02:51:23PM +0800, Kewen.Lin wrote: >> In my testing with cost tweaking for vector with length, I found >> two cases below didn't get the expected output. Since the expected >> instructions reply on the vectoriza

Re: [PATCH] testsuite/rs6000: Add option to ignore vect cost model

2020-07-16 Thread Segher Boessenkool
Hi! On Thu, Jul 16, 2020 at 02:51:23PM +0800, Kewen.Lin wrote: > In my testing with cost tweaking for vector with length, I found > two cases below didn't get the expected output. Since the expected > instructions reply on the vectorization occurrence, we don't expect > vectorization gets disable

[PATCH] testsuite/rs6000: Add option to ignore vect cost model

2020-07-15 Thread Kewen.Lin via Gcc-patches
Hi, In my testing with cost tweaking for vector with length, I found two cases below didn't get the expected output. Since the expected instructions reply on the vectorization occurrence, we don't expect vectorization gets disabled by cost model. To make it not fragile, the fix is to force it wi