From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F00D18E75 for ; Tue, 13 Oct 2015 08:25:10 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 12 Oct 2015 23:25:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,676,1437462000"; d="scan'208";a="809669544" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 12 Oct 2015 23:25:07 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 12 Oct 2015 23:25:07 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 12 Oct 2015 23:25:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.47]) with mapi id 14.03.0248.002; Tue, 13 Oct 2015 14:25:05 +0800 From: "Qiu, Michael" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] librte_eal: Fix wrong header file for old gcc version Thread-Index: AQHQ3k6AnKXbrARwrkidWUM7naV8mA== Date: Tue, 13 Oct 2015 06:25:05 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028621B47FB4@SHSMSX101.ccr.corp.intel.com> References: <1440408177-29394-1-git-send-email-michael.qiu@intel.com> <18021087.J9VIySgl62@xps13> <533710CFB86FA344BFBF2D6802E60286198953BD@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] librte_eal: Fix wrong header file for old gcc version X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 06:25:11 -0000 Hi, all=0A= =0A= Any comments on this?=0A= =0A= Thanks,=0A= Michael=0A= On 2015/9/25 10:56, Qiu, Michael wrote:=0A= > On 2015/9/7 22:46, Thomas Monjalon wrote:=0A= >> 2015-08-24 17:22, Michael Qiu:=0A= >>> For __SSE3__, the corresponding header file should be pmmintrin.h,=0A= >>> tmmintrin.h works for __SSSE3__.=0A= >> Please could you better explain the difference and what is exactly the b= ug=0A= >> being fixed?=0A= > It should solve this issue:=0A= >=0A= > [dpdk-dev] DPDK 2.1.0 build error: inlining failed in call to always_inli= ne=0A= >=0A= > /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: = inlining failed in call to always_inline =91_mm_alignr_epi8=92: t=0A= > arget specific option mismatch=0A= > _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)=0A= >=0A= > ^=0A= > The AMD cpu flags:=0A= >=0A= > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca c= mov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxe=0A= > xt fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl n= onstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lah=0A= > f_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetc= h osvw ibs skinit wdt cpb hw_pstate npt lbrv svm_lock nrip_sa=0A= >=0A= >=0A= > "_mm_alignr_epi8" only works for ssse3 or upper,=0A= > but this AMD CPU does not support that. This function has been wrongly ca= lled, because the wrong header file.=0A= >=0A= > Thanks,=0A= > Michael =0A= >=0A= >=0A= >> Thanks=0A= >>=0A= >>=0A= >=0A= =0A=