Re: [PATCH] i386: Fix memory constraint for APX NF

2024-07-31 Thread Hongtao Liu
On Thu, Aug 1, 2024 at 10:03 AM Kong, Lingling wrote: > > > > > -Original Message- > > From: Liu, Hongtao > > Sent: Thursday, August 1, 2024 9:35 AM > > To: Kong, Lingling ; gcc-patches@gcc.gnu.org > > Cc: Wang, Hongyu > > Subject: RE: [

RE: [PATCH] i386: Fix memory constraint for APX NF

2024-07-31 Thread Kong, Lingling
> -Original Message- > From: Liu, Hongtao > Sent: Thursday, August 1, 2024 9:35 AM > To: Kong, Lingling ; gcc-patches@gcc.gnu.org > Cc: Wang, Hongyu > Subject: RE: [PATCH] i386: Fix memory constraint for APX NF > > > > > -Original Message- &

RE: [PATCH] i386: Fix memory constraint for APX NF

2024-07-31 Thread Liu, Hongtao
> -Original Message- > From: Kong, Lingling > Sent: Thursday, August 1, 2024 9:30 AM > To: gcc-patches@gcc.gnu.org > Cc: Liu, Hongtao ; Wang, Hongyu > > Subject: [PATCH] i386: Fix memory constraint for APX NF > > The je constraint should be used for APX N

[PATCH] i386: Fix memory constraint for APX NF

2024-07-31 Thread Kong, Lingling
The je constraint should be used for APX NDD ADD with register source operand. The jM is for APX NDD patterns with immediate operand. Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. Ok for trunk? gcc/ChangeLog: * config/i386/i386.md (nf_mem_constraint): Fixed the constraint