Re: [PATCH][Arm] Implement vector average patterns in aarch32

2019-07-02 Thread Kyrill Tkachov
Hi Iain, On 6/28/19 1:56 PM, Iain Apreotesei wrote: gcc/ChangeLog: 2019-06-28  Iain Apreotesei  * config/arm/iterators.md (VRHADD, VHADD): Add, update int_iterators. (u) new int_attr. * config/arm/neon.md (avg3_floor, avg3_ceil) (neon_vhadd, neon_vrhadd): Add new patterns.

Re: [PATCH][Arm] Implement vector average patterns in aarch32

2019-06-28 Thread Iain Apreotesei
Hi, It seems I forgot to include the email's body as well :-) This patch adds Arm patterns for the new AVG_FLOOR/CEIL operations. AVG_FLOOR is VHADD and AVG_CEIL is VHRADD. I have added three DejaGnu tests in the patch to ensure that the appropriate assembler is getting generated. Is this okay