[testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Rainer Orth
gcc.target/i386/avx512f-vrndscaless-2.c currently FAILs on Solaris 9/x86 with gas: FAIL: gcc.target/i386/avx512f-vrndscaless-2.c (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/avx512f-vrndscaless-2. c:21:14: warning: incompatible implicit

Re: [testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Uros Bizjak
On Wed, Feb 5, 2014 at 4:50 PM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: gcc.target/i386/avx512f-vrndscaless-2.c currently FAILs on Solaris 9/x86 with gas: FAIL: gcc.target/i386/avx512f-vrndscaless-2.c (test for excess errors) Excess errors:

Re: [testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Jakub Jelinek
On Wed, Feb 05, 2014 at 05:09:31PM +0100, Uros Bizjak wrote: On Wed, Feb 5, 2014 at 4:50 PM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: gcc.target/i386/avx512f-vrndscaless-2.c currently FAILs on Solaris 9/x86 with gas: FAIL: gcc.target/i386/avx512f-vrndscaless-2.c (test for excess

Re: [testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Uros Bizjak
On Wed, Feb 5, 2014 at 5:11 PM, Jakub Jelinek ja...@redhat.com wrote: gcc.target/i386/avx512f-vrndscaless-2.c currently FAILs on Solaris 9/x86 with gas: FAIL: gcc.target/i386/avx512f-vrndscaless-2.c (test for excess errors) Excess errors:

Re: [testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Rainer Orth
Hi Uros, Let's solve this in the way sse4_1-floorf-vec.c solves it and simply add extern float floorf (float); after math.h include. Does this work for you? it does, but only because the floorf call is optimized away at -O2. While the Solaris 9 libm contains __floorf, there's no floorf,

Re: [testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Rainer Orth
Uros Bizjak ubiz...@gmail.com writes: Looks like using builtins should be the correct way, so the original patch is OK. Rainer, can you please add the same cure to sse4_1-floor*.vec tests? Sure, will do. Thanks. Rainer --

Re: [testsuite] Fix gcc.target/i386/avx512f-vrndscaless-2.c on Solaris 9/x86

2014-02-05 Thread Rainer Orth
Rainer Orth r...@cebitec.uni-bielefeld.de writes: Uros Bizjak ubiz...@gmail.com writes: Looks like using builtins should be the correct way, so the original patch is OK. Rainer, can you please add the same cure to sse4_1-floor*.vec tests? Sure, will do. Here's what I committed after