Re: [PATCH] APX: Don't use red-zone with APX and no caller-saved registers

2025-04-14 Thread Hongtao Liu
On Mon, Apr 14, 2025 at 8:56 PM H.J. Lu wrote: > > On Mon, Apr 14, 2025 at 2:39 AM Uros Bizjak wrote: > > > > On Mon, Apr 14, 2025 at 8:54 AM Hongtao Liu wrote: > > > > > > On Mon, Apr 14, 2025 at 7:36 AM H.J. Lu wrote: > > > > > > > > Don't use red-zone when there are no caller-saved registers

Re: [PATCH] APX: Don't use red-zone with APX and no caller-saved registers

2025-04-14 Thread H.J. Lu
On Mon, Apr 14, 2025 at 2:39 AM Uros Bizjak wrote: > > On Mon, Apr 14, 2025 at 8:54 AM Hongtao Liu wrote: > > > > On Mon, Apr 14, 2025 at 7:36 AM H.J. Lu wrote: > > > > > > Don't use red-zone when there are no caller-saved registers and APX is > > > enabled since 128-byte red-zone is too small f

Re: [PATCH] APX: Don't use red-zone with APX and no caller-saved registers

2025-04-14 Thread Uros Bizjak
On Mon, Apr 14, 2025 at 8:54 AM Hongtao Liu wrote: > > On Mon, Apr 14, 2025 at 7:36 AM H.J. Lu wrote: > > > > Don't use red-zone when there are no caller-saved registers and APX is > > enabled since 128-byte red-zone is too small for 31 GPRs. > > > > gcc/ > > > > PR target/119784 > >

Re: [PATCH] APX: Don't use red-zone with APX and no caller-saved registers

2025-04-13 Thread Hongtao Liu
On Mon, Apr 14, 2025 at 7:36 AM H.J. Lu wrote: > > Don't use red-zone when there are no caller-saved registers and APX is > enabled since 128-byte red-zone is too small for 31 GPRs. > > gcc/ > > PR target/119784 > * config/i386/i386.cc (ix86_using_red_zone): Don't use red-zone >

[PATCH] APX: Don't use red-zone with APX and no caller-saved registers

2025-04-13 Thread H.J. Lu
Don't use red-zone when there are no caller-saved registers and APX is enabled since 128-byte red-zone is too small for 31 GPRs. gcc/ PR target/119784 * config/i386/i386.cc (ix86_using_red_zone): Don't use red-zone with APX and no caller-saved registers. gcc/testsuite/