> -----Original Message----- > From: Uros Bizjak > Sent: Wednesday, May 15, 2024 4:15 PM > To: Kong, Lingling > Cc: gcc-patches@gcc.gnu.org; Liu, Hongtao ; Wang, > Hongyu > Subject: Re: [PATCH 1/8] [APX NF]: Support APX NF add > > On Wed, May 15, 2024 at 9:43 AM Kong, Lingling > wrote: > > > > From: Hongyu Wang > > > > APX NF(no flags) feature implements suppresses the update of status flags for > arithmetic operations. > > > > For NF add, it is not clear whether NF add can be faster than lea. If so, the > pattern needs to be adjusted to prefer LEA generation. > > > diff --git a/gcc/testsuite/gcc.target/i386/apx-ndd.c > > b/gcc/testsuite/gcc.target/i386/apx-ndd.c > > index 0eb751ad225..0ff4df0780c 100644 > > --- a/gcc/testsuite/gcc.target/i386/apx-ndd.c > > +++ b/gcc/testsuite/gcc.target/i386/apx-ndd.c > > @@ -1,5 +1,5 @@ > > /* { dg-do compile { target { ! ia32 } } } */ > > -/* { dg-options "-mapxf -march=x86-64 -O2" } */ > > +/* { dg-options "-mapx-features=egpr,push2pop2,ndd,ppx -march=x86-64 > > +-O2" } */ > > Please do not split options to a separate line; here and in other places. > > Uros. Sorry, my send-email adjusted some formatting incorrectly, I added attachments. Thanks, Lingling