Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2025-04-28 Thread Uros Bizjak
On Mon, Apr 28, 2025 at 2:04 AM H.J. Lu wrote: > > On Wed, Apr 23, 2025 at 1:56 PM Uros Bizjak wrote: > > > +static void > > +ix86_find_all_reg_uses_1 (HARD_REG_SET ®set, > > + rtx set, unsigned int regno, > > + auto_bitmap &worklist) > > +{ > > + rtx dest = SET_DEST (set); > > + > > + if (!R

Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2025-02-19 Thread Uros Bizjak
On Sat, Feb 15, 2025 at 1:27 AM H.J. Lu wrote: > > On Fri, Feb 14, 2025 at 10:08 PM Richard Biener wrote: > > > > On Fri, 14 Feb 2025, Uros Bizjak wrote: > > > > > On Fri, Feb 14, 2025 at 4:56 AM H.J. Lu wrote: > > > > > > > > On Thu, Feb 13, 2025 at 5:17 PM Uros Bizjak wrote: > > > > > > > > >

Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2025-02-17 Thread Uros Bizjak
On Fri, Feb 14, 2025 at 2:11 PM Uros Bizjak wrote: > > On Fri, Feb 14, 2025 at 4:56 AM H.J. Lu wrote: > > > > On Thu, Feb 13, 2025 at 5:17 PM Uros Bizjak wrote: > > > > > > On Thu, Feb 13, 2025 at 9:31 AM H.J. Lu wrote: > > > > > > > > Don't assume that stack slots can only be accessed by stack

Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2025-02-14 Thread H.J. Lu
On Fri, Feb 14, 2025 at 10:08 PM Richard Biener wrote: > > On Fri, 14 Feb 2025, Uros Bizjak wrote: > > > On Fri, Feb 14, 2025 at 4:56 AM H.J. Lu wrote: > > > > > > On Thu, Feb 13, 2025 at 5:17 PM Uros Bizjak wrote: > > > > > > > > On Thu, Feb 13, 2025 at 9:31 AM H.J. Lu wrote: > > > > > > > > >

Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2025-02-14 Thread Richard Biener
On Fri, 14 Feb 2025, Uros Bizjak wrote: > On Fri, Feb 14, 2025 at 4:56 AM H.J. Lu wrote: > > > > On Thu, Feb 13, 2025 at 5:17 PM Uros Bizjak wrote: > > > > > > On Thu, Feb 13, 2025 at 9:31 AM H.J. Lu wrote: > > > > > > > > Don't assume that stack slots can only be accessed by stack or frame > >

Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2025-02-14 Thread Uros Bizjak
On Fri, Feb 14, 2025 at 4:56 AM H.J. Lu wrote: > > On Thu, Feb 13, 2025 at 5:17 PM Uros Bizjak wrote: > > > > On Thu, Feb 13, 2025 at 9:31 AM H.J. Lu wrote: > > > > > > Don't assume that stack slots can only be accessed by stack or frame > > > registers. We first find all registers defined by s

Re: [PATCH v3] x86: Properly find the maximum stack slot alignment

2023-07-25 Thread Richard Biener via Gcc-patches
On Mon, Jul 24, 2023 at 10:36 PM H.J. Lu via Gcc-patches wrote: > > Don't assume that stack slots can only be accessed by stack or frame > registers. We first find all registers defined by stack or frame > registers. Then check memory accesses by such registers, including > stack and frame regis