On Wed, Dec 22, 2021 at 11:26 AM Uros Bizjak wrote:
>
> On Wed, Dec 22, 2021 at 10:26 AM Roger Sayle
> wrote:
> >
> >
> > Hi Uros,
> > Would you consider the following variant that disables this optimization
> > when a
> > red zone is used by the current function? You're right that cfun's
> >
On Wed, Dec 22, 2021 at 10:26 AM Roger Sayle wrote:
>
>
> Hi Uros,
> Would you consider the following variant that disables this optimization when
> a
> red zone is used by the current function? You're right that cfun's
> red_zone_size is
> recalculated dynamically, but ix86_red_zone_used shoul
u think. I'll revert, if this tweak doesn't address
your concerns.
Roger
--
> -Original Message-
> From: Uros Bizjak
> Sent: 22 December 2021 08:20
> To: Roger Sayle
> Cc: GCC Patches
> Subject: Re: [PATCH] PR target/103773: Fix wrong-code with -Oz from pop to
On Wed, Dec 22, 2021 at 9:10 AM Uros Bizjak wrote:
>
> On Tue, Dec 21, 2021 at 1:27 PM Roger Sayle
> wrote:
> >
> >
> > My apologies for the inconvenience. The new support for -Oz using
> > push/pop for small integer constants on x86_64 is only a win/correct
> > for loading registers. Fixed by
On Tue, Dec 21, 2021 at 1:27 PM Roger Sayle wrote:
>
>
> My apologies for the inconvenience. The new support for -Oz using
> push/pop for small integer constants on x86_64 is only a win/correct
> for loading registers. Fixed by adding !MEM_P tests in the appropriate
> locations.
>
> This patch h