Marc Glisse <marc.gli...@inria.fr> writes: > On Tue, 5 Jul 2016, Kyrill Tkachov wrote: > >> As for testing I've bootstrapped and tested the patch on aarch64 and >> x86_64 with synth_shift_p in vect_synth_mult_by_constant hacked to be >> always true to exercise the paths that synthesize the shift by >> additions. Marc, could you test this on the sparc targets you care about? > > I don't have access to Sparc, you want Rainer here (added in Cc:).
As is, the patch doesn't even build on current mainline: /vol/gcc/src/hg/trunk/local/gcc/tree-vect-patterns.c:2151:56: error: 'mult_variant' has not been declared target_supports_mult_synth_alg (struct algorithm *alg, mult_variant var, ^ enum mult_variant is only declared in expmed.c. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University