Re: [PATCH v3] x86: Update memcpy/memset inline strategies for -mtune=generic

2025-06-25 Thread Jan Hubicka
.c: Also pass -mstringop-strategy=rep_byte. > > > -- > H.J. > From bcd7245314d3ba4eb55e9ea2bc0b7d165834f5b6 Mon Sep 17 00:00:00 2001 > From: "H.J. Lu" > Date: Thu, 18 Mar 2021 18:43:10 -0700 > Subject: [PATCH v3] x86: Update memcpy/memset inline strategies for &

Re: [PATCH v3] x86: Update memcpy/memset inline strategies for -mtune=generic

2025-06-25 Thread Hongtao Liu
> mjgu...@gmail.com > > Subject: [PATCH v3] x86: Update memcpy/memset inline strategies for - > > mtune=generic > > > > On Mon, Jun 16, 2025 at 12:19 AM Jan Hubicka wrote: > > > > > > > > > > > Perhaps someone is interested in the follow

Re: [PATCH v3] x86: Update memcpy/memset inline strategies for -mtune=generic

2025-06-24 Thread Uros Bizjak
On Tue, Jun 24, 2025 at 5:22 AM Hongtao Liu wrote: > > > > Ideall we should catch repeated constants more generally since > > > > this appears elsewhere too. > > > > I am not quite sure where to fit it best. We already have a > > > > machine specific task that loads 0 into

Re: [PATCH v3] x86: Update memcpy/memset inline strategies for -mtune=generic

2025-06-23 Thread H.J. Lu
y-31.c: Likewise. > > * gcc.target/i386/mvc17.c: Fail with "rep mov" > > * gcc.target/i386/pr111657-1.c: Scan for unrolled loop. Fail > > with "rep mov". > > * gcc.target/i386/shrink_wrap_1.c: Also pass > > -mmemset-strategy=rep_8byte:-1:align. >

RE: [PATCH v3] x86: Update memcpy/memset inline strategies for -mtune=generic

2025-06-17 Thread Cui, Lili
> -Original Message- > From: H.J. Lu > Sent: Monday, June 16, 2025 10:08 PM > To: Jan Hubicka > Cc: Uros Bizjak ; Cui, Lili ; gcc- > patc...@gcc.gnu.org; Liu, Hongtao ; > mjgu...@gmail.com > Subject: [PATCH v3] x86: Update memcpy/memset inline strategies for -

[PATCH v3] x86: Update memcpy/memset inline strategies for -mtune=generic

2025-06-16 Thread H.J. Lu
29.c: Likewise. * gcc.target/i386/memset-strategy-30.c: Likewise. * gcc.target/i386/memset-strategy-31.c: Likewise. * gcc.target/i386/mvc17.c: Fail with "rep mov" * gcc.target/i386/pr111657-1.c: Scan for unrolled loop. Fail with "rep mov". * gcc.target/i386/shrink_wrap_1.c