On Wed, May 15, 2024 at 9:43 AM Kong, Lingling <lingling.k...@intel.com> wrote: > > From: Hongyu Wang <hongyu.w...@intel.com> > > 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.