Re: [PATCH 1/4] i386: Optimization for APX NDD is always zero-uppered for ADD

2024-08-13 Thread Hongtao Liu
On Mon, Aug 12, 2024 at 3:10 PM kong lingling wrote: > > For APX instruction with an NDD, the destination GPR will get the > instruction’s result in bits [OSIZE-1:0] and, if OSIZE < 64b, have its upper > bits [63:OSIZE] zeroed. Now supporting other NDD instructions. > > > Bootstrapped and regtes

RE: [PATCH 1/4] i386: Optimization for APX NDD is always zero-uppered for ADD

2024-08-13 Thread Kong, Lingling
Hi, Gently ping. Thanks, Lingling From: kong lingling Sent: Monday, August 12, 2024 3:10 PM To: gcc-patches@gcc.gnu.org Cc: H. J. Lu ; Kong, Lingling ; Liu, Hongtao Subject: [PATCH 1/4] i386: Optimization for APX NDD is always zero-uppered for ADD For APX instruction with an NDD, the

[PATCH 1/4] i386: Optimization for APX NDD is always zero-uppered for ADD

2024-08-12 Thread kong lingling
For APX instruction with an NDD, the destination GPR will get the instruction’s result in bits [OSIZE-1:0] and, if OSIZE < 64b, have its upper bits [63:OSIZE] zeroed. Now supporting other NDD instructions. Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. Ok for trunk? gcc/ChangeLog: