Re: [PATCH] hppa: Improve hppa_rtx_costs for shifts by constants.

2020-09-01 Thread John David Anglin
Hi Roger, This change is fine.  PR middle-end/87256 remains resolved. I'll have to tweak the shadd-2 test again.  The number of sh*add instructions dropped to three but the total number of instruction dropped by one. Thanks, Dave On 2020-08-27 12:42 p.m., Roger Sayle wrote: > Hi Dave (and Jeff

Re: [PATCH] hppa: Improve hppa_rtx_costs for shifts by constants.

2020-08-27 Thread John David Anglin
Hi Roger, On 2020-08-27 12:42 p.m., Roger Sayle wrote: > I was wondering whether you could please "put this in the queue", and > reconfirm that PR middle-end/87256 remains resolved? > > > 2020-08-27 Roger Sayle > > gcc/ChangeLog > * config/pa/pa.c (hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIF

Re: [PATCH] hppa: Improve hppa_rtx_costs for shifts by constants.

2020-08-27 Thread Jeff Law via Gcc-patches
On Thu, 2020-08-27 at 17:42 +0100, Roger Sayle wrote: > Hi Dave (and Jeff), > For your consideration, here's a patch that should fix the recent regression > of gcc.dg/tree-ssa/slrt-13.c on hppa targets. > > This patch provides more accurate rtx_costs estimates for shifts by > integer constants (wh