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

2017-07-29 Thread Peter Bergner
On 6/27/17 10:51 AM, Segher Boessenkool wrote: > On Mon, Jun 26, 2017 at 10:33:48PM -0500, Peter Bergner wrote: >> Tulio added support for two new AT_HWCAP2 bits to GLIBC which have been >> recently added to the kernel: >> >> https://www.sourceware.org/ml/libc-alpha/2017-06/msg00069.html >> >>

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

2017-07-05 Thread Tulio Magno Quites Machado Filho
Segher Boessenkool writes: > On Fri, Jun 30, 2017 at 11:53:48AM -0500, Peter Bergner wrote: >> >> Not use an installed header, that's not what I'm asking. Share the >> >> source file, i.e., just copy it over from the glibc source tree (it >> >> should probably hold

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

2017-06-30 Thread Segher Boessenkool
On Fri, Jun 30, 2017 at 11:53:48AM -0500, Peter Bergner wrote: > >> Not use an installed header, that's not what I'm asking. Share the > >> source file, i.e., just copy it over from the glibc source tree (it > >> should probably hold the master copy). Fewer typos, cannot forget to > >> update

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

2017-06-30 Thread Peter Bergner
Segher, any response to my findings below about whether we should try and share header files with GLIBC? Peter On 6/27/17 1:06 PM, Peter Bergner wrote: > On 6/27/17 11:07 AM, Segher Boessenkool wrote: >> Not use an installed header, that's not what I'm asking. Share the >> source file, i.e.,

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

2017-06-27 Thread Peter Bergner
On 6/27/17 11:07 AM, Segher Boessenkool wrote: > Not use an installed header, that's not what I'm asking. Share the > source file, i.e., just copy it over from the glibc source tree (it > should probably hold the master copy). Fewer typos, cannot forget to > update some entry, etc. So the glibc

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

2017-06-27 Thread Peter Bergner
On 6/27/17 11:07 AM, Segher Boessenkool wrote: > Not use an installed header, that's not what I'm asking. Share the > source file, i.e., just copy it over from the glibc source tree (it > should probably hold the master copy). Fewer typos, cannot forget to > update some entry, etc. Ah, that's

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

2017-06-27 Thread Segher Boessenkool
On Tue, Jun 27, 2017 at 10:55:53AM -0500, Peter Bergner wrote: > On 6/27/17 10:51 AM, Segher Boessenkool wrote: > > On Mon, Jun 26, 2017 at 10:33:48PM -0500, Peter Bergner wrote: > >> Tulio added support for two new AT_HWCAP2 bits to GLIBC which have been > >> recently added to the kernel: > >> >

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

2017-06-27 Thread Peter Bergner
On 6/27/17 10:51 AM, Segher Boessenkool wrote: > On Mon, Jun 26, 2017 at 10:33:48PM -0500, Peter Bergner wrote: >> Tulio added support for two new AT_HWCAP2 bits to GLIBC which have been >> recently added to the kernel: >> >> https://www.sourceware.org/ml/libc-alpha/2017-06/msg00069.html >> >>

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

2017-06-27 Thread Segher Boessenkool
On Mon, Jun 26, 2017 at 10:33:48PM -0500, Peter Bergner wrote: > Tulio added support for two new AT_HWCAP2 bits to GLIBC which have been > recently added to the kernel: > > https://www.sourceware.org/ml/libc-alpha/2017-06/msg00069.html > > This patch adds support for them to the

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

2017-06-26 Thread Peter Bergner
Tulio added support for two new AT_HWCAP2 bits to GLIBC which have been recently added to the kernel: https://www.sourceware.org/ml/libc-alpha/2017-06/msg00069.html This patch adds support for them to the __builtin_cpu_supports() builtin function so we can test for them. Tested on