On Apr 4, 2022, Richard Sandiford wrote:
> But if that's true, it should happen in gen_rtx_REG.
Yeah, I agree, that makes sense.
> OK without the introduction of the ?:, thanks.
Thanks, here's what I'm checking in.
try multi-reg dest in default_zero_call_used_regs
From: Alexandre Oliva
W
Alexandre Oliva writes:
> Hello, Richard,
>
> Thanks for the review!
>
> On Mar 31, 2022, Richard Sandiford wrote:
>
>>> + /* If the natural mode doesn't work, try some wider mode. */
>>> + if (!targetm.hard_regno_mode_ok (regno, mode))
>>> + {
>>> + for (int nregs = 2;
>>> +
Hello, Richard,
Thanks for the review!
On Mar 31, 2022, Richard Sandiford wrote:
>> +/* If the natural mode doesn't work, try some wider mode. */
>> +if (!targetm.hard_regno_mode_ok (regno, mode))
>> + {
>> +for (int nregs = 2;
>> + regno + nregs <= FIRST_PSEUD
Alexandre Oliva via Gcc-patches writes:
> When the mode of regno_reg_rtx is not hard_regno_mode_ok for the
> target, try grouping the register with subsequent ones. This enables
> s16 to s31 and their hidden pairs to be zeroed with the default logic
> on some arm variants.
>
> Regstrapped on x86_
When the mode of regno_reg_rtx is not hard_regno_mode_ok for the
target, try grouping the register with subsequent ones. This enables
s16 to s31 and their hidden pairs to be zeroed with the default logic
on some arm variants.
Regstrapped on x86_64-linux-gnu, also tested on an affected arm
confi