Re: Fix various x86 tests for --with-arch=bdver3 --with-cpu=bdver3

2014-05-05 Thread Uros Bizjak
On Mon, May 5, 2014 at 6:44 PM, Joseph S. Myers wrote: >> These are due to TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL tuning flag. >> Currently, this flag applies to all vector sizes (128, 256 and 512 >> bits), but I guess it is effective only for 128 bit sizes. Can you >> please review usage of this

Re: Fix various x86 tests for --with-arch=bdver3 --with-cpu=bdver3

2014-05-05 Thread Joseph S. Myers
On Wed, 2 Apr 2014, Uros Bizjak wrote: > These are due to TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL tuning flag. > Currently, this flag applies to all vector sizes (128, 256 and 512 > bits), but I guess it is effective only for 128 bit sizes. Can you > please review usage of this flag in i386/sse.md?

Re: Fix various x86 tests for --with-arch=bdver3 --with-cpu=bdver3

2014-04-02 Thread Uros Bizjak
On Wed, Apr 2, 2014 at 12:27 AM, Joseph S. Myers wrote: > There are other failures this patch does not resolve in a > --with-arch=bdver3 --with-cpu=bdver3 configuration. Some of these are > AVX tests whose failures are not resolved by adding -mno-prefer-avx128 > (and so this patch does not add -

Re: Fix various x86 tests for --with-arch=bdver3 --with-cpu=bdver3

2014-04-01 Thread Uros Bizjak
On Wed, Apr 2, 2014 at 12:27 AM, Joseph S. Myers wrote: > When I fixed various tests in > for failures > with --with-arch=bdver3, I missed that a so-configured compiler still > defaults to -mtune=generic. If you override that as well with

Re: Fix various x86 tests for --with-arch=bdver3

2014-03-30 Thread Uros Bizjak
On Fri, Mar 28, 2014 at 10:46 PM, Joseph S. Myers wrote: > In addition to the failures fixed by this patch, there are many > gcc.dg/vect tests where having additional vector extensions enabled > breaks their expectations; I'm not sure of the best way to handle > those. And you get > > FAIL: gcc.

Re: Fix various x86 tests for --with-arch=bdver3

2014-03-29 Thread Uros Bizjak
On Fri, Mar 28, 2014 at 10:46 PM, Joseph S. Myers wrote: > If you build an x86_64 toolchain with --with-arch enabling various > instruction set extensions by default, this causes some tests to fail > that aren't expecting those extensions to be enabled. This patch > fixes various tests failing li

Re: Fix various x86 tests for --with-arch=bdver3

2014-03-28 Thread H.J. Lu
On Fri, Mar 28, 2014 at 2:46 PM, Joseph S. Myers wrote: > If you build an x86_64 toolchain with --with-arch enabling various > instruction set extensions by default, this causes some tests to fail > that aren't expecting those extensions to be enabled. This patch > fixes various tests failing lik