Re: [PATCH] Introduce sh_mul and uh_mul RTX codes for high-part multiplications

2021-09-27 Thread Richard Sandiford via Gcc-patches
"Roger Sayle" writes: > This patch introduces new RTX codes to allow the RTL passes and > backends to consistently represent high-part multiplications. > Currently, the RTL used by different backends for expanding > smul3_highpart and umul3_highpart varies greatly, > with many but not all

Re: [PATCH] Introduce sh_mul and uh_mul RTX codes for high-part multiplications

2021-09-25 Thread Andreas Schwab
On Sep 25 2021, Roger Sayle wrote: > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi > index 4acb941..2de7d99 100644 > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -3125,7 +3125,7 @@ errors if these functions are not inlined everywhere > they are called. > @itemx

[PATCH] Introduce sh_mul and uh_mul RTX codes for high-part multiplications

2021-09-25 Thread Roger Sayle
This patch introduces new RTX codes to allow the RTL passes and backends to consistently represent high-part multiplications. Currently, the RTL used by different backends for expanding smul3_highpart and umul3_highpart varies greatly, with many but not all choosing to express this something