On Fri, May 23, 2014 at 2:09 AM, Segher Boessenkool <seg...@kernel.crashing.org> wrote: > This is for the legacy integer multiply-accumulate instructions. > Quite a mouthful, and "mulhw" is also a terrible name since we already > have a machine instruction called exactly that. Hence "halfmul". > > Also fixes the titan automaton description for this. > > > 2014-05-22 Segher Boessenkool <seg...@kernel.crashing.org> > > gcc/ > * config/rs6000/rs6000.md (type): Add new value "halfmul". > (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw, > *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu, > *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw, > *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw, > *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): > Use it. > * config/rs6000/40x.md (ppc405-imul3): Add type halfmul. > * config/rs6000/440.md (ppc440-imul2): Add type halfmul. > * config/rs6000/476.md (ppc476-imul): Add type halfmul. > * config/rs6000/titan.md: Delete nonsensical comment. > (titan_imul): Add type imul3. > (titan_mulhw): Remove type imul3; add type halfmul.
Okay. thanks, David