Re: [PATCH] Recognize highpart multiplication during RTL expansion

2021-09-19 Thread Jeff Law via Gcc-patches
On 8/8/2021 4:48 AM, Roger Sayle wrote: This middle-end patch teaches RTL expansion to recognize widening multiplications followed by right shifts as highpart multiplications, and attempt to emit them using the backends [su]mul_highpart optab if possible. My first attempt at supporting this,

Re: [PATCH] Recognize highpart multiplication during RTL expansion

2021-08-09 Thread Richard Biener via Gcc-patches
On Sun, Aug 8, 2021 at 1:40 PM Roger Sayle wrote: > > > Doh! ENOPATCH. This time with attachments... > https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576922.html Note I was originally suggesting to perform the matching on GIMPLE but only in one of the "instruction selection passes". There