Re: [PATCH] reassoc: Reassociate integral multiplies [PR95867[

2021-01-11 Thread Richard Biener
On Sun, 10 Jan 2021, Jakub Jelinek wrote: Hi! For floating point multiply, we have nice code in reassoc to reassociate multiplications to almost optimal sequence of as few multiplications as possible (or library call), but for integral types we just give up because there is no __builtin_powi*

[PATCH] reassoc: Reassociate integral multiplies [PR95867[

2021-01-10 Thread Jakub Jelinek via Gcc-patches
Hi! For floating point multiply, we have nice code in reassoc to reassociate multiplications to almost optimal sequence of as few multiplications as possible (or library call), but for integral types we just give up because there is no __builtin_powi* for those types. As there is no library