Re: [PATCH v3, rs6000] Add vec_reve support

2017-06-23 Thread Segher Boessenkool
Hi Carl, On Fri, Jun 23, 2017 at 02:59:05PM -0700, Carl Love wrote: > +(define_expand "altivec_vreve2" > + [(set (match_operand:VEC_A 0 "register_operand" "=v") > + (unspec:VEC_A [(match_operand:VEC_A 1 "register_operand" "v")] > + UNSPEC_VREVEV))] > + "TARGET_ALTIVEC" >

[PATCH v3, rs6000] Add vec_reve support

2017-06-23 Thread Carl Love
GCC maintainers: I have updated the patch per the comments from Segher. The vec_reve builtin does work on Power 7, the test file was fixed to run on Power 7 as well. The updated patch was tested on on powerpc64le-unknown-linux-gnu (Power 8 LE), powerpc64-unknown-linux-gnu(Power 8 BE),