Re: Re: [PATCH] Changed vector size

2023-03-29 Thread Richard Biener via Gcc-patches
On Wed, Mar 29, 2023 at 10:35 AM 陈逸轩 wrote: > > Thanks for your suggestion!But I met the issue that if I declare a int type > variable,this variable can't be converted to vector type. Could you teach me > more detail? I don't understand what you mean. I have pushed a fix. Richard. > Best reg

Re: Re: [PATCH] Changed vector size

2023-03-29 Thread 陈逸轩
Thanks for your suggestion!But I met the issue that if I declare a int type variable,this variable can't be converted to vector type. Could you teach me more detail? Best regards! Yixuan Chen "Richard Biener" wrote: > On Mon, Mar 27, 2023 at 12:37 PM wrote: > > >

Re: [PATCH] Changed vector size

2023-03-27 Thread Richard Biener via Gcc-patches
On Mon, Mar 27, 2023 at 12:37 PM wrote: > > From: Yixuan Chen > > Observed a vint type "ABS_EXPR" followed by extra 3 int type "ABS_EXPR". If > want to test absolute value optimization for vector, maybe don't need 4 times. A better solution would be to scan a dump before the veclower pass? > g

[PATCH] Changed vector size

2023-03-27 Thread chenyixuan
From: Yixuan Chen Observed a vint type "ABS_EXPR" followed by extra 3 int type "ABS_EXPR". If want to test absolute value optimization for vector, maybe don't need 4 times. gcc/testsuite/ChangeLog: 2023-03-27 Yixuan Chen * g++.dg/pr94920.C: Declare the vector size as long as int.