Re: [PATCH v1] Vect: Distribute truncation into .SAT_SUB operands

2024-07-03 Thread Richard Biener
On Sun, Jun 30, 2024 at 5:13 AM wrote: > > From: Pan Li > > To get better vectorized code of .SAT_SUB, we would like to avoid the > truncated operation for the assignment. For example, as below. > > unsigned int _1; > unsigned int _2; > _9 = (unsigned short int).SAT_SUB (_1, _2); > > If we make

RE: [PATCH v1] Vect: Distribute truncation into .SAT_SUB operands

2024-07-03 Thread Li, Pan2
essage- From: Richard Biener Sent: Wednesday, July 3, 2024 5:03 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@gmail.com; tamar.christ...@arm.com; jeffreya...@gmail.com; rdapp....@gmail.com Subject: Re: [PATCH v1] Vect: Distribute truncation into .SAT_SUB ope