Re: [PATCH], Update cpu-builtin-1.c test on PowerPC

2017-07-19 Thread Michael Meissner
On Wed, Jul 19, 2017 at 12:33:03PM -0500, Segher Boessenkool wrote: > On Tue, Jul 18, 2017 at 04:24:47PM -0400, Michael Meissner wrote: > > This patch modifies the change I made on July 12th. It modifies the test > > for > > the __builtin_cpu_is and __builtin_cpu_supports built-in functions to

Re: [PATCH], Update cpu-builtin-1.c test on PowerPC

2017-07-19 Thread Segher Boessenkool
On Tue, Jul 18, 2017 at 04:24:47PM -0400, Michael Meissner wrote: > This patch modifies the change I made on July 12th. It modifies the test for > the __builtin_cpu_is and __builtin_cpu_supports built-in functions to use an > #ifdef instead of target-requires for doing the tests. One motavation

[PATCH], Update cpu-builtin-1.c test on PowerPC

2017-07-18 Thread Michael Meissner
This patch modifies the change I made on July 12th. It modifies the test for the __builtin_cpu_is and __builtin_cpu_supports built-in functions to use an #ifdef instead of target-requires for doing the tests. One motavation is to make the back port to GCC 6/7 easier, as I won't have to back port