Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-12-14 Thread Peter Bergner
On 11/7/17 11:05 AM, Peter Bergner wrote: > On 11/7/17 7:12 AM, Tulio Magno Quites Machado Filho wrote: >> That's the same string adopted in glibc. [1] >> PPC_FEATURE2_HTM_NO_SUSPEND is also user-visible in glibc as a macro and is >> identical too. >> >> Notice this has not been merged into Linus T

Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-11-07 Thread Peter Bergner
On 11/7/17 7:12 AM, Tulio Magno Quites Machado Filho wrote: > That's the same string adopted in glibc. [1] > PPC_FEATURE2_HTM_NO_SUSPEND is also user-visible in glibc as a macro and is > identical too. > > Notice this has not been merged into Linus Torvalds' tree yet and the glibc > patch is also

Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-11-07 Thread Tulio Magno Quites Machado Filho
Peter Bergner writes: > On 11/6/17 4:52 PM, Segher Boessenkool wrote: >> Hi! >> >> On Mon, Nov 06, 2017 at 11:41:39AM -0600, Peter Bergner wrote: >>> There is a new HWCAP2 bit added to the AUXV here: >>> >>> http://patchwork.ozlabs.org/patch/824764/ >>> >>> This patch adds __builtin_cpu_suppor

Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-11-06 Thread Segher Boessenkool
On Mon, Nov 06, 2017 at 05:07:23PM -0600, Peter Bergner wrote: > >> --- gcc/config/rs6000/rs6000.c (revision 254453) > >> +++ gcc/config/rs6000/rs6000.c (working copy) > >> @@ -387,6 +387,7 @@ static const struct > >>{ "ebb",PPC_FEATURE2_HAS_EBB, 1 }, > >>{

Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-11-06 Thread Peter Bergner
On 11/6/17 4:52 PM, Segher Boessenkool wrote: > Hi! > > On Mon, Nov 06, 2017 at 11:41:39AM -0600, Peter Bergner wrote: >> There is a new HWCAP2 bit added to the AUXV here: >> >> http://patchwork.ozlabs.org/patch/824764/ >> >> This patch adds __builtin_cpu_supports() support for it. > >> --- gcc

Re: [PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-11-06 Thread Segher Boessenkool
Hi! On Mon, Nov 06, 2017 at 11:41:39AM -0600, Peter Bergner wrote: > There is a new HWCAP2 bit added to the AUXV here: > > http://patchwork.ozlabs.org/patch/824764/ > > This patch adds __builtin_cpu_supports() support for it. > --- gcc/config/rs6000/rs6000.c(revision 254453) > +++ gcc

[PATCH, rs6000] Add support to __builtin_cpu_supports() for new HWCAP2 bit

2017-11-06 Thread Peter Bergner
There is a new HWCAP2 bit added to the AUXV here: http://patchwork.ozlabs.org/patch/824764/ This patch adds __builtin_cpu_supports() support for it. This passed bootstrap and regtesting with no regressions? Ok for trunk? Ok to back port to the open releases too once testing to complete there?