Re: [PATCH][PR104116] Add vectorization logic for floor_{mod,div}

2025-09-16 Thread Richard Biener
On Mon, 15 Sep 2025, Avinash Jayakar wrote: > Hello Richard, > > Thank you for reviewing the patch! I have made changes based on your > comments, but I have some doubts for a few comments as mentioned below. > > On Thu, 2025-09-11 at 13:08 +0200, Richard Biener wrote: > > On Wed, 10 Sep 2025, Av

Re: [PATCH][PR104116] Add vectorization logic for floor_{mod,div}

2025-09-15 Thread Avinash Jayakar
Hello Richard, Thank you for reviewing the patch! I have made changes based on your comments, but I have some doubts for a few comments as mentioned below. On Thu, 2025-09-11 at 13:08 +0200, Richard Biener wrote: > On Wed, 10 Sep 2025, Avinash Jayakar wrote: > > +  bool unsignedp = TYPE_UNSIGNED

Re: [PATCH][PR104116] Add vectorization logic for floor_{mod,div}

2025-09-11 Thread Richard Biener
On Wed, 10 Sep 2025, Avinash Jayakar wrote: > Hi, > > The following patch implements the vectorization logic for FLOOR_MOD_EXPR and > FLOOR_DIV_EXPR. According to the logic mentioned in the PR, we have > For signed operands, > r = x %[fl] y;

[PATCH][PR104116] Add vectorization logic for floor_{mod,div}

2025-09-09 Thread Avinash Jayakar
Hi, The following patch implements the vectorization logic for FLOOR_MOD_EXPR and FLOOR_DIV_EXPR. According to the logic mentioned in the PR, we have For signed operands, r = x %[fl] y;