[v8,09/14] eal: hide typedefs based on GCC vector extensions
Checks
Commit Message
When compiling with MSVC don't expose typedefs based on GCC vector
extensions.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
lib/eal/include/generic/rte_vect.h | 4 ++++
1 file changed, 4 insertions(+)
@@ -17,6 +17,8 @@
#include <rte_compat.h>
+#ifndef RTE_TOOLCHAIN_MSVC
+
/* Unsigned vector types */
/**
@@ -186,6 +188,8 @@
*/
typedef int64_t rte_v256s64_t __attribute__((vector_size(32), aligned(32)));
+#endif
+
/**
* The max SIMD bitwidth value to limit vector path selection.
*/