On Mon, Jun 30, 2025 at 2:06 PM Hongtao Liu wrote:
>
> On Mon, Jun 30, 2025 at 11:16 AM H.J. Lu wrote:
> >
> > On Mon, Jun 30, 2025 at 10:37 AM Hongtao Liu wrote:
> > >
> > > On Sat, Jun 28, 2025 at 8:30 PM H.J. Lu wrote:
> > > >
> > > > Update functions with no_callee_saved_registers/preserve_
On Mon, Jun 30, 2025 at 11:16 AM H.J. Lu wrote:
>
> On Mon, Jun 30, 2025 at 10:37 AM Hongtao Liu wrote:
> >
> > On Sat, Jun 28, 2025 at 8:30 PM H.J. Lu wrote:
> > >
> > > Update functions with no_callee_saved_registers/preserve_none attribute
> > > to preserve frame pointer since caller may use
On Sat, Jun 28, 2025 at 8:30 PM H.J. Lu wrote:
>
> Update functions with no_callee_saved_registers/preserve_none attribute
> to preserve frame pointer since caller may use it to save the current
> stack:
>
> pushq %rbp
> movq %rsp, %rbp
> ...
> call function
> ...
> leave
> ret
>
> If callee chang
On Mon, Jun 30, 2025 at 10:41 AM Hongtao Liu wrote:
>
> On Mon, Jun 30, 2025 at 10:37 AM Hongtao Liu wrote:
> >
> > On Sat, Jun 28, 2025 at 8:30 PM H.J. Lu wrote:
> > >
> > > Update functions with no_callee_saved_registers/preserve_none attribute
> > > to preserve frame pointer since caller may
On Mon, Jun 30, 2025 at 10:37 AM Hongtao Liu wrote:
>
> On Sat, Jun 28, 2025 at 8:30 PM H.J. Lu wrote:
> >
> > Update functions with no_callee_saved_registers/preserve_none attribute
> > to preserve frame pointer since caller may use it to save the current
> > stack:
> >
> > pushq %rbp
> > movq %
On Mon, Jun 30, 2025 at 10:37 AM Hongtao Liu wrote:
>
> On Sat, Jun 28, 2025 at 8:30 PM H.J. Lu wrote:
> >
> > Update functions with no_callee_saved_registers/preserve_none attribute
> > to preserve frame pointer since caller may use it to save the current
> > stack:
> >
> > pushq %rbp
> > movq %
"H.J. Lu" writes:
> Update functions with no_callee_saved_registers/preserve_none attribute
> to preserve frame pointer since caller may use it to save the current
> stack:
>
> pushq %rbp
> movq %rsp, %rbp
> ...
> call function
> ...
> leave
> ret
>
> If callee changes frame pointer without resto
t.
* gcc.target/i386/pr120840-1b.c: Likewise.
* gcc.target/i386/pr120840-1c.c: Likewise.
* gcc.target/i386/pr120840-1d.c: Likewise.
--
H.J.
From bbcdc4aa433222f2d4afd80d07ae49a087436754 Mon Sep 17 00:00:00 2001
From: "H.J. Lu"
Date: Sat, 28 Jun 2025 09:39:41 +0800
Subject: [PATCH] x86: P