Robin Dapp writes:
>> Could you try the attached?
>
> The series with the patch is OK from a testsuite point of view. The
> other problem appears later.
OK, thanks for checking. I've pushed the patch as obvious.
Richard
> Could you try the attached?
The series with the patch is OK from a testsuite point of view. The
other problem appears later.
Regards
Robin
On 1/11/22 09:52, Richard Sandiford via Gcc-patches wrote:
Robin Dapp writes:
Hi Richard,
this causes a bootstrap error on s390 (where
IRA_HARD_REGNO_ADD_COST_MULTIPLIER is defined). rclass is used in the
#define-guarded area.
Gah, sorry about that.
I guess you also wanted to move this to
Hi Richard,
> Could you try the attached?
build and bootstrap look OK with it. Testsuite shows lots of fallout
but the proper bisect isn't finished yet. The commit before your series
is still fine - the problem could also be after it, though. Will report
back later.
Thanks
Robin
Robin Dapp writes:
> Hi Richard,
>
> this causes a bootstrap error on s390 (where
> IRA_HARD_REGNO_ADD_COST_MULTIPLIER is defined). rclass is used in the
> #define-guarded area.
Gah, sorry about that.
> I guess you also wanted to move this to the new function
> ira_caller_save_cost?
No, the IRA
Hi Richard,
this causes a bootstrap error on s390 (where
IRA_HARD_REGNO_ADD_COST_MULTIPLIER is defined). rclass is used in the
#define-guarded area. I guess you also wanted to move this to the new
function ira_caller_save_cost?
Regards
Robin
--
../../gcc/ira-costs.c: In function ‘void ira_tun
> From: Richard Sandiford via Gcc-patches
> Date: Thu, 6 Jan 2022 15:48:01 +0100
> If an allocno A in an inner loop L spans a call, a parent allocno AP
> can choose to handle a call-clobbered/caller-saved hard register R
> in one of two ways:
>
> (1) save R before each call in L and restore R af
On 2022-01-06 09:48, Richard Sandiford wrote:
If an allocno A in an inner loop L spans a call, a parent allocno AP
can choose to handle a call-clobbered/caller-saved hard register R
in one of two ways:
(1) save R before each call in L and restore R after each call
(2) spill R to memory through
If an allocno A in an inner loop L spans a call, a parent allocno AP
can choose to handle a call-clobbered/caller-saved hard register R
in one of two ways:
(1) save R before each call in L and restore R after each call
(2) spill R to memory throughout L
(2) can be cheaper than (1) in some cases,