From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9114D43D6D; Thu, 28 Mar 2024 17:14:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E734410FC; Thu, 28 Mar 2024 17:14:11 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 9F871410D5 for ; Thu, 28 Mar 2024 17:14:09 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id A320320E6AF0; Thu, 28 Mar 2024 09:14:08 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A320320E6AF0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1711642448; bh=lVLoU4MPmGkdlW7usTyVPOCZUno/4Ps5zi+8f1uSMMw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YUfAcquH5FzIOmgmwZcn/pjXPzqD2MnSiawkkbCD1U84STyKH/MBWRbcqzrTukMe2 Y4PAYQ7VRkWNZdh2RBoBp4ttzkwd3x3CE9weLEfZUkOVNF6DN8IEhkgp5IP5WptLVT rKQzNpkAoDuQsYrxCiV6iglMGUapOT9iI9kqLXIg= From: Tyler Retzlaff To: dev@dpdk.org Cc: Bruce Richardson , Jasvinder Singh , Konstantin Ananyev , Tyler Retzlaff Subject: [PATCH v2 1/2] eal: include header for MSVC SIMD intrinsics Date: Thu, 28 Mar 2024 09:14:05 -0700 Message-Id: <1711642446-6880-2-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1711642446-6880-1-git-send-email-roretzla@linux.microsoft.com> References: <1710969121-18503-1-git-send-email-roretzla@linux.microsoft.com> <1711642446-6880-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org MSVC documents that you use the monolithic intrin.h for all intrinsics (including SIMD intrinsics) include intrin.h into rte_vec.h when building with MSVC so we don't have to duplicate conditionally compile include it across the DPDK source. Signed-off-by: Tyler Retzlaff --- lib/eal/include/generic/rte_vect.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/eal/include/generic/rte_vect.h b/lib/eal/include/generic/rte_vect.h index 6540419..1f84292 100644 --- a/lib/eal/include/generic/rte_vect.h +++ b/lib/eal/include/generic/rte_vect.h @@ -15,7 +15,11 @@ #include -#ifndef RTE_TOOLCHAIN_MSVC +#ifdef RTE_TOOLCHAIN_MSVC + +#include + +#else /* Unsigned vector types */ -- 1.8.3.1