test: select memcpy alignment unit at run-time
authorXiaoyun Li <xiaoyun.li@intel.com>
Fri, 13 Oct 2017 09:01:48 +0000 (17:01 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 13:20:50 +0000 (15:20 +0200)
commitc7fbc80fe60f2915ce6e718ac0f13cfd33e406d1
tree17c5582522338c46ec6a2b28058ec2f3eece2bec
parent84cc318424d49372dd2a5fbf3cf84426bf95acce
test: select memcpy alignment unit at run-time

This patch modifies assignment of alignment unit from build-time
to run-time based on CPU flags that machine supports.

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
test/test/test_memcpy_perf.c