On Fri, Oct 28, 2016 at 1:38 PM, Richard Biener
wrote:
> On Wed, Oct 26, 2016 at 6:42 PM, Bin Cheng wrote:
>> Hi,
>> For stmt defining reduction, GCC vectorizer assumes that the reduction
>> variable is always the last (second) operand. Another fact is that
>> vectorizer doesn't swap operands
On Wed, Oct 26, 2016 at 6:42 PM, Bin Cheng wrote:
> Hi,
> For stmt defining reduction, GCC vectorizer assumes that the reduction
> variable is always the last (second) operand. Another fact is that
> vectorizer doesn't swap operands for cond_reduction during analysis stage.
> The problem is G
Hi,
For stmt defining reduction, GCC vectorizer assumes that the reduction variable
is always the last (second) operand. Another fact is that vectorizer doesn't
swap operands for cond_reduction during analysis stage. The problem is GCC
middle-end may canonicalize cond_expr into a form that red