From 09e787231b31add1234ec9a3dfe718533f1c3bf4 Mon Sep 17 00:00:00 2001 From: Greg Tucker Date: Fri, 5 Oct 2018 17:48:02 -0700 Subject: [PATCH] ec: Change gf_mad_test to use multi-binary function Change-Id: Ibe484239b75514b5563dd043bb0e8c46d3bdac5e Signed-off-by: Greg Tucker --- erasure_code/gf_vect_mad_test.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/erasure_code/gf_vect_mad_test.c b/erasure_code/gf_vect_mad_test.c index c51f5b6..a5cc6fd 100644 --- a/erasure_code/gf_vect_mad_test.c +++ b/erasure_code/gf_vect_mad_test.c @@ -34,20 +34,14 @@ #include "types.h" #ifndef ALIGN_SIZE -# define ALIGN_SIZE 16 +# define ALIGN_SIZE 32 #endif #ifndef FUNCTION_UNDER_TEST -#if __x86_64__ || __i386__ || _M_X64 || _M_IX86 -//By default, test sse version -# define FUNCTION_UNDER_TEST gf_6vect_mad_sse -# define REF_FUNCTION gf_6vect_dot_prod_sse -# define VECT 6 -#else -# define FUNCTION_UNDER_TEST gf_vect_mad_base -# define REF_FUNCTION gf_vect_dot_prod_base +//By default, test multi-binary version +# define FUNCTION_UNDER_TEST gf_vect_mad +# define REF_FUNCTION gf_vect_dot_prod # define VECT 1 -#endif //__x86_64__ || __i386__ || _M_X64 || _M_IX86 #endif #ifndef TEST_MIN_SIZE