eal/x86: fix build sse3 functions with gcc < 4.4
authorMarvin Liu <yong.liu@intel.com>
Thu, 19 Mar 2015 03:16:52 +0000 (11:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 22 Mar 2015 23:31:19 +0000 (00:31 +0100)
commit55900aa94d0772489fb3320cea7ba30ffb20a154
tree6c7de5ca10ba23a9f41c9c3c369dd76817837873
parent89085f13e672691c4d3c3b65ddb9b28ec3d728fb
eal/x86: fix build sse3 functions with gcc < 4.4

In Suse11 SP3, there'll be errors for not found sse3 functions.
rte_memcpy.h: In function ‘rte_memcpy’:
rte_memcpy.h:625: error: implicit declaration of function ‘_mm_alignr_epi8’
rte_memcpy.h:625: error: nested extern declaration of ‘_mm_alignr_epi8’
rte_memcpy.h:625: error: incompatible type for argument 2 of ‘_mm_storeu_si128’

These functions defined in tmmintrin.h and should be included in.

Fixes: 9144d6bcdefd ("eal/x86: optimize memcpy for SSE and AVX")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
lib/librte_eal/common/include/arch/x86/rte_vect.h