From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: rte_memcpy optimization patch to dpdk ver 1.7 Date: Tue, 17 Feb 2015 08:01:31 -0500 Message-ID: <20150217130131.GA2729@neilslaptop.think-freely.org> References: <98DB008FA2AC6644B40AD8C766FAB271020CA67F5E@BOREAL.arubanetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Vithal S Mohare Return-path: Content-Disposition: inline In-Reply-To: <98DB008FA2AC6644B40AD8C766FAB271020CA67F5E-AxeMsvIPF9dVlT40swnHCBaHJUVzwnCM@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Tue, Feb 17, 2015 at 08:39:22AM +0000, Vithal S Mohare wrote: > Hi, > > I am trying to use rte_memcpy optimization patch along with dpdk version 1.7. With the patch, while dpdk itself is compiled, applications failed with below error: > ------------------------------- > include/rte_memcpy.h:629:2: error: implicit declaration of function '_mm_alignr_epi8' [-Werror=implicit-function-declaration] > /home/vithals/adu_src/build/x-men_dev/Default/shumway/infra/dpdk/shumway_obj/lib/../include/rte_memcpy.h:629:2: error: incompatible type for argument 2 of '_mm_storeu_si128' > ------------------------------- > > After including -mssse3 flags, compilation (cross compiled for a x86 linux based platform) went through. Now the question is, when this binary is loaded on system that doesn't support SSSE3 instruction set (but just sse2 etc), what would be the behavior? > A crash. You'll attempt to send an unknown binary instruction into the execution pipeline and the processor will fault. Neil