Re: [PATCH,rs600] Add built-in function support for compare bytes instruction

2017-04-28 Thread Segher Boessenkool
Hi Kelvin, On Fri, Apr 28, 2017 at 11:48:03AM -0600, Kelvin Nilsen wrote: > --- gcc/config/rs6000/rs6000.h(revision 247069) > +++ gcc/config/rs6000/rs6000.h(working copy) > @@ -2717,6 +2717,7 @@ extern int frame_pointer_needed; > aren't in target_flags. */ > #define RS6000_BT

[PATCH,rs600] Add built-in function support for compare bytes instruction

2017-04-28 Thread Kelvin Nilsen
This patch adds support for the compare bytes instruction, which has been available in the rs6000 architecture since Power6. The patch has been bootstrapped and tested on powerpc64le-unknown-linux and powerpc-unknown-linux (big-endian, with both -m32 and -m64 target options) with no regressions.