FWIW, this patch looks good to me.

Bill

On Mon, 2015-06-15 at 18:15 -0400, David Edelsohn wrote:
> POWER8 added a multiply instruction that makes mulv4si more efficient.
> And vmladduhm can be used for mulv8hi3.  This patch also changes
> vmladduhm from a black box UNSPEC to descriptive RTL.
> 
> Bootstrapped on powerpc64le-linux.
> 
>         * altivec.md: Delete UNSPEC_VMLADDUHM.
>         (mulv4si3_p8): New pattern.
>         (mulv4si3): Use it for POWER8.
>         (mulv8hi3): Use vmladduhm with zero addend.
>         (altivec_vmladduhm): Descriptive RTL.
> 
> - David


Reply via email to