[v8,6/9] eal: include SSE4 support for windows
Checks
Commit Message
Modified \common\include\arch\x86\rte_vect.h
to include SSE4 header for Windows.
Signed-off-by: Antara Ganesh Kolar <antara.ganesh.kolar@intel.com>
Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
---
lib/librte_eal/common/include/arch/x86/rte_vect.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Comments
On 2/6/2020 7:14 PM, Pallavi Kadam wrote:
> Modified \common\include\arch\x86\rte_vect.h
> to include SSE4 header for Windows.
>
> Signed-off-by: Antara Ganesh Kolar <antara.ganesh.kolar@intel.com>
> Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
> Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
> Reviewed-by: Keith Wiles <keith.wiles@intel.com>
> ---
> lib/librte_eal/common/include/arch/x86/rte_vect.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
Tested-by: Narcisa Vasile <Narcisa.Vasile@microsoft.com>
Acked-by: Narcisa Vasile <Narcisa.Vasile@microsoft.com>
@@ -15,7 +15,9 @@
#include <rte_config.h>
#include "generic/rte_vect.h"
-#if (defined(__ICC) || (__GNUC__ == 4 && __GNUC_MINOR__ < 4))
+#if (defined(__ICC) || \
+ (defined(_WIN64)) || \
+ (__GNUC__ == 4 && __GNUC_MINOR__ < 4))
#include <smmintrin.h> /* SSE4 */