Re: [PATCH] LoongArch: Use iorn and andn standard pattern names.

2024-07-27 Thread Andrew Pinski
On Sat, Jul 27, 2024 at 1:55 AM Lulu Cheng wrote: > > gcc/ChangeLog: > > * config/loongarch/lasx.md (xvandn3): Rename to ... > (andn3): This. > (xvorn3): Rename to ... > (iorn3): This. > * config/loongarch/loongarch-builtins.cc (CODE_FOR_lsx_vandn_v): >

Re: [PATCH] LoongArch: Use iorn and andn standard pattern names for scalar modes.

2024-07-27 Thread Andrew Pinski
On Sat, Jul 27, 2024 at 1:38 AM Lulu Cheng wrote: > > gcc/ChangeLog: > > * config/loongarch/loongarch.md (n): Rename to ... > (n3): This. Thanks for doing this for loongarch. Once I finish up my patch set; loongarch should get benefit. Also it might be useful after my patch set

[PATCH] LoongArch: Use iorn and andn standard pattern names.

2024-07-27 Thread Lulu Cheng
gcc/ChangeLog: * config/loongarch/lasx.md (xvandn3): Rename to ... (andn3): This. (xvorn3): Rename to ... (iorn3): This. * config/loongarch/loongarch-builtins.cc (CODE_FOR_lsx_vandn_v): Defined as the modified name. (CODE_FOR_lsx_vorn_v):

[PATCH] LoongArch: Use iorn and andn standard pattern names for scalar modes.

2024-07-27 Thread Lulu Cheng
gcc/ChangeLog: * config/loongarch/loongarch.md (n): Rename to ... (n3): This. --- gcc/config/loongarch/loongarch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md index

Re: [PATCH] LoongArch: Use iorn and andn standard pattern names for scalar modes.

2024-07-27 Thread Lulu Cheng
在 2024/7/27 下午4:41, Xi Ruoyao 写道: On Sat, 2024-07-27 at 16:36 +0800, Lulu Cheng wrote: gcc/ChangeLog: * config/loongarch/loongarch.md (n): Rename to ... (n3): This. Ok. Note that [x]vorn3 and [x]vandn3 should be renamed as well. Uh, I just forgot about them, I'm modifying

Re: [PATCH] LoongArch: Use iorn and andn standard pattern names for scalar modes.

2024-07-27 Thread Xi Ruoyao
On Sat, 2024-07-27 at 16:36 +0800, Lulu Cheng wrote: > gcc/ChangeLog: > > * config/loongarch/loongarch.md (n): Rename to ... > (n3): This. Ok. Note that [x]vorn3 and [x]vandn3 should be renamed as well. > --- >  gcc/config/loongarch/loongarch.md | 2 +- >  1 file changed, 1

[PATCH] LoongArch: Use iorn and andn standard pattern names for scalar modes.

2024-07-27 Thread Lulu Cheng
gcc/ChangeLog: * config/loongarch/loongarch.md (n): Rename to ... (n3): This. --- gcc/config/loongarch/loongarch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md index