Re: [PATCH] x86: Remove SSE_FIRST_REG from ix86_class_likely_spilled_p

2025-05-01 Thread Uros Bizjak
On Wed, Apr 30, 2025 at 11:43 PM H.J. Lu wrote: > > On Wed, Apr 30, 2025 at 8:12 PM Uros Bizjak wrote: > > > > On Tue, Apr 29, 2025 at 11:40 PM H.J. Lu wrote: > > > > > > SSE_FIRST_REG was added to CLASS_LIKELY_SPILLED_P, which became > > > TARGET_CLASS_LIKELY_SPILLED_P, for > > > > > > https://

Re: [PATCH] x86: Remove SSE_FIRST_REG from ix86_class_likely_spilled_p

2025-04-30 Thread H.J. Lu
On Wed, Apr 30, 2025 at 8:12 PM Uros Bizjak wrote: > > On Tue, Apr 29, 2025 at 11:40 PM H.J. Lu wrote: > > > > SSE_FIRST_REG was added to CLASS_LIKELY_SPILLED_P, which became > > TARGET_CLASS_LIKELY_SPILLED_P, for > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40470 > > > > Since RA has bee

Re: [PATCH] x86: Remove SSE_FIRST_REG from ix86_class_likely_spilled_p

2025-04-30 Thread Uros Bizjak
On Tue, Apr 29, 2025 at 11:40 PM H.J. Lu wrote: > > SSE_FIRST_REG was added to CLASS_LIKELY_SPILLED_P, which became > TARGET_CLASS_LIKELY_SPILLED_P, for > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40470 > > Since RA has been improved and xmm0 is a commonly used register, remove > SSE_FIRST_RE

[PATCH] x86: Remove SSE_FIRST_REG from ix86_class_likely_spilled_p

2025-04-29 Thread H.J. Lu
SSE_FIRST_REG was added to CLASS_LIKELY_SPILLED_P, which became TARGET_CLASS_LIKELY_SPILLED_P, for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40470 Since RA has been improved and xmm0 is a commonly used register, remove SSE_FIRST_REG from ix86_class_likely_spilled_p to improve xmm0 codegen: 1.