Re: [PATCH] x86_64: Improve code expanded for highpart multiplications.

2021-12-13 Thread Uros Bizjak via Gcc-patches
On Fri, Dec 10, 2021 at 12:58 PM Roger Sayle wrote: > > > While working on a middle-end patch to more aggressively use highpart > multiplications on targets that support them, I noticed that the RTL > expanded by the x86 backend interacts poorly with register allocation > leading to suboptimal cod

[PATCH] x86_64: Improve code expanded for highpart multiplications.

2021-12-10 Thread Roger Sayle
While working on a middle-end patch to more aggressively use highpart multiplications on targets that support them, I noticed that the RTL expanded by the x86 backend interacts poorly with register allocation leading to suboptimal code. For the testcase, typedef int __attribute ((mode(TI))) ti_t;