From patchwork Sun Nov 6 20:13:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Dominique_d=27Humi=C3=A8res?= X-Patchwork-Id: 123966 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 7A09EB6F7C for ; Mon, 7 Nov 2011 07:13:44 +1100 (EST) Received: (qmail 29038 invoked by alias); 6 Nov 2011 20:13:28 -0000 Received: (qmail 29019 invoked by uid 22791); 6 Nov 2011 20:13:20 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Nov 2011 20:13:06 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id pA6KD3wO090887 ; Sun, 6 Nov 2011 21:13:03 +0100 (CET) X-Envelope-To: gcc-patches@gcc.gnu.org Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 096783BE0A; Sun, 6 Nov 2011 21:13:03 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iX24ZcPcP6y0; Sun, 6 Nov 2011 21:13:02 +0100 (CET) Received: by mailhost.lps.ens.fr (Postfix, from userid 8513) id E57C13BE18; Sun, 6 Nov 2011 21:13:02 +0100 (CET) Date: Sun, 06 Nov 2011 21:13:02 +0100 To: gcc-patches@gcc.gnu.org Cc: ktietz70@googlemail.com, quentin.neill@amd.com Subject: Re: Many testsuite failures on x86_64 due recent "fix" about f16cintrin.h header User-Agent: Heirloom mailx 12.4pre 6/29/08 MIME-Version: 1.0 Message-Id: <20111106201302.E57C13BE18@mailhost.lps.ens.fr> From: dominiq@lps.ens.fr (Dominique Dhumieres) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Following http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02901.html, I have applied the following patch on x86_64-apple-darwin10 (the second part fixes a missing endif). However I still have most of the failures: FAIL: gcc.target/i386/sse-14.c Excess errors: /opt/gcc/work/gcc/testsuite/gcc.target/i386/sse-14.c:95:1: error: implicit declaration of function '_cvtss_sh' [-Werror=implicit-function-declaration] /opt/gcc/work/gcc/testsuite/gcc.target/i386/sse-14.c:96:1: error: implicit declaration of function '_mm_cvtps_ph' [-Werror=implicit-function-declaration] /opt/gcc/work/gcc/testsuite/gcc.target/i386/sse-14.c:96:1: error: incompatible types when returning type 'int' but '__m128i' was expected /opt/gcc/work/gcc/testsuite/gcc.target/i386/sse-14.c:97:1: error: implicit declaration of function '_mm256_cvtps_ph' [-Werror=implicit-function-declaration] /opt/gcc/work/gcc/testsuite/gcc.target/i386/sse-14.c:97:1: error: incompatible types when returning type 'int' but '__m128i' was expected ... FAIL: gcc.target/i386/testimm-1.c (test for excess errors) Excess errors: /opt/gcc/work/gcc/testsuite/gcc.target/i386/testimm-1.c:36:6: error: incompatible types when assigning to type '__m128i' from type 'int' /opt/gcc/work/gcc/testsuite/gcc.target/i386/testimm-1.c:45:6: error: incompatible types when assigning to type '__m128i' from type 'int' At this point I have no idea about how to fix those. Cheers, Dominique --- ../_clean/gcc/config.gcc 2011-11-05 22:25:37.000000000 +0100 +++ gcc/config.gcc 2011-11-06 12:35:57.000000000 +0100 @@ -350,7 +350,7 @@ i[34567]86-*-*) immintrin.h x86intrin.h avxintrin.h xopintrin.h ia32intrin.h cross-stdarg.h lwpintrin.h popcntintrin.h lzcntintrin.h bmiintrin.h bmi2intrin.h tbmintrin.h - avx2intrin.h fmaintrin.h" + avx2intrin.h fmaintrin.h f16cintrin.h" ;; x86_64-*-*) cpu_type=i386 @@ -363,7 +363,7 @@ x86_64-*-*) immintrin.h x86intrin.h avxintrin.h xopintrin.h ia32intrin.h cross-stdarg.h lwpintrin.h popcntintrin.h lzcntintrin.h bmiintrin.h tbmintrin.h bmi2intrin.h - avx2intrin.h fmaintrin.h" + avx2intrin.h fmaintrin.h f16cintrin.h" need_64bit_hwint=yes ;; ia64-*-*) --- ../_clean/gcc/config/i386/f16cintrin.h 2011-11-05 10:03:10.000000000 +0100 +++ gcc/config/i386/f16cintrin.h 2011-11-06 16:55:05.000000000 +0100 @@ -88,7 +88,8 @@ _mm256_cvtps_ph (__m256 __A, const int _ #define _mm256_cvtps_ph(A, I) \ ((__m128i) __builtin_ia32_vcvtps2ph256 ((__v8sf)(__m256) A, (int) (I))) -#endif +#endif /* __OPTIMIZE__ */ +#endif /* _F16CINTRIN_H_INCLUDED */ #endif /* __F16C__ */ #endif