use intel intrinsics in clib_memcpy64_x4 22/9522/2
authorDamjan Marion <[email protected]>
Wed, 22 Nov 2017 11:41:32 +0000 (12:41 +0100)
committerDave Barach <[email protected]>
Wed, 22 Nov 2017 13:20:57 +0000 (13:20 +0000)
commitb2e1fe9c4d6263ced0e37c78a7ba1837f5ff1c86
tree1cbb84948117ebec2dbd5e6e8d4aa52f39762bdb
parent3ce7bcb55b8bdf53aa4975a6312a5fd4a1ca2d0c
use intel intrinsics in clib_memcpy64_x4

While my original attmept was to write this function to be portable
and work on non-x86 systems, seems that gcc-5 desn't respect aligment
attribute and issues alligned vector insutruciton which causes crash.

Change-Id: If165c8d482ac96f2b71959d326f9772b48097b48
Signed-off-by: Damjan Marion <[email protected]>
src/vppinfra/string.h