[Bug tree-optimization/70251] Wrong code with -O3 -march=skylake-avx512.

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Mar 17 10:19:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 17 Mar 2016, ienkovich at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251
> 
> --- Comment #6 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
> (In reply to rguenther@suse.de from comment #5)
> > I think that would be an odd transform.  But yes, The pattern is probably
> > dead now and can as well be removed...
> 
> This test proves pattern is not dead and still can be applied for all
> non-AVX-512 targets.  I don't think all targets make such optimizations so why
> not to keep it?

Looks like it was added for gcc.target/aarch64/vect-add-sub-cond.c so
we indeed should keep it.


More information about the Gcc-bugs mailing list