On Fri, Oct 27, 2017 at 12:51:56PM -0400, David Edelsohn wrote: > On Fri, Oct 27, 2017 at 11:51 AM, Will Schmidt > <will_schm...@vnet.ibm.com> wrote: > > [PATCH, rs6000] (v2) Gimple folding for vec_madd() > > > > Add support for gimple folding of the vec_madd() (vector multiply-add) > > intrinsics. > > Renamed the define_insn of altivec_vmladduhm to fmav8hi4, Refreshed the > > caller of gen_altivec_vmladduhm to call gen_fmav8hi, and updated the > > rs6000-builtin.def entry for VMLADDUHM to point to the new name. > > With this refresh I am no longer adding a define_expand. > > Plus a few cosmetic tweaks per feedback. > > > > Testcase coverage is provided by the existing tests as > > gcc.target/powerpc/fold-vec-madd-*.c > > > > Sniff-tests passed. Regtests will be kicked off shortly. OK for trunk?
Okay, with David's comments taken care of. Thanks! Segher