eal/x86: fix build with gcc 5.3.1
authorMichael Qiu <michael.qiu@intel.com>
Thu, 28 Jan 2016 07:30:34 +0000 (15:30 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 28 Jan 2016 08:33:50 +0000 (09:33 +0100)
commit2593612db0c7517b21a1bed9311718e7e76c58fe
treea5a3b4562fae18d3cce362a582c8f2d160c6c48c
parent48093287c8d9cca1e1ce6838e6c60a5b821d72c7
eal/x86: fix build with gcc 5.3.1

In fedora 22 with GCC version 5.3.1, when compile,
will result an error:

    include/rte_memcpy.h:309:7: error: "RTE_MACHINE_CPUFLAG_AVX2"
                                is not defined [-Werror=undef]
    #elif RTE_MACHINE_CPUFLAG_AVX2

Fixes: 9484092baad3 ("eal/x86: optimize memcpy for AVX512 platforms")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Zhihong Wang <zhihong.wang@intel.com>
app/test/test_memcpy_perf.c
lib/librte_eal/common/include/arch/x86/rte_memcpy.h