Re: [PATCH] Fix c-c++-common/torture/vector-compare-1.c on powerpc

2015-11-05 Thread Ilya Enkovich
On 29 Oct 15:29, Richard Biener wrote: > > I think this should unconditionally produce the COND_EXPR and > build cst_true using build_all_ones_cst (stype). > > Ok with that change. > > Thanks, > Richard. > Here is an updated patch version. Bootstrapped and regtested on

[PATCH] Fix c-c++-common/torture/vector-compare-1.c on powerpc

2015-10-29 Thread Ilya Enkovich
Hi, This patches powerpc fails for c-c++-common/torture/vector-compare-1.c test. The problem is that vector comparison lowering produces vector of 0s and 1s instead of 0s and -1s. It doesn't matter if it usage is also lowered (like happens on ARM and i386 with -mno-sse) byt on powerpc we may

Re: [PATCH] Fix c-c++-common/torture/vector-compare-1.c on powerpc

2015-10-29 Thread Richard Biener
On Thu, Oct 29, 2015 at 2:42 PM, Ilya Enkovich wrote: > Hi, > > This patches powerpc fails for c-c++-common/torture/vector-compare-1.c test. > The problem is that vector comparison lowering produces vector of 0s and 1s > instead of 0s and -1s. It doesn't matter if it