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

2025-04-21 Thread H.J. Lu
ly. > This issue will be even worse when registers that depend on %rdx will > be taken into account. > > [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780#c34 > > -- H.J. From a113592b67afed33af189e14b6b071b62fa832d8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tu

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

2025-02-13 Thread Uros Bizjak
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 stack or frame > registers. Then check memory accesses by such registers, including > stack and frame registers. > > gcc/ >

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

2025-02-13 Thread H.J. Lu
te: Tue, 14 Mar 2023 11:41:51 -0700 Subject: [PATCH v2] x86: Properly find the maximum stack slot alignment 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 regist

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

2023-07-24 Thread H.J. Lu via Gcc-patches
On Mon, Jul 10, 2023 at 3:32 AM Richard Biener wrote: > > On Fri, Jul 7, 2023 at 5:14 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 m

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

2023-07-10 Thread Richard Biener via Gcc-patches
On Fri, Jul 7, 2023 at 5:14 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 registe

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

2023-07-07 Thread H.J. Lu via Gcc-patches
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 registers. gcc/ PR target/109780 * config/i386/i386.cc (ix86_u