[PATCH, rs6000] Fold vector multiplies in GIMPLE

Segher Boessenkool segher@kernel.crashing.org
Thu May 11 19:15:00 GMT 2017


Hi!

On Thu, May 11, 2017 at 10:51:54AM -0500, Will Schmidt wrote:
> Add support for some of the vector multiply (sp,dp) operations in
> the gimple folding.  I missed these during an earlier pass that
> added the other (mule, mulo) multiply operations.  This change is
> covered by the existing testcases for vector folding
> (gcc.target/powerpc/fold-vec-mul-*.c).
>     
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu, and
> powerpc-unknown-linux, (p7,p8le,p8be) with no regressions.
>     
> Is this OK for trunk?

Sure!  Thanks,


Segher


>     2017-05-10  Will Schmidt  <will_schmidt@vnet.ibm.com>
>     
>             * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling for
>             early GIMPLE expansion of vector multiplies.



More information about the Gcc-patches mailing list