mirror of
https://github.com/intel/isa-l.git
synced 2025-10-28 19:51:56 +01:00
build: Add multi-arch autoconf support
Added multi-arch support to configure.ac. Updated header files to only export sse and avx functions on x86 Change-Id: I4d1f8d0eccabad55ee887dc092a565c468f5c629 Signed-off-by: John Kariuki <John.K.Kariuki@intel.com>
This commit is contained in:
@@ -120,6 +120,8 @@ int pq_check(int vects, int len, void **array);
|
||||
|
||||
|
||||
/* Arch specific versions */
|
||||
// x86 only
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
|
||||
/**
|
||||
* @brief Generate XOR parity vector from N sources.
|
||||
@@ -236,6 +238,7 @@ int pq_gen_avx2(int vects, int len, void **array);
|
||||
|
||||
int pq_check_sse(int vects, int len, void **array);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Generate P+Q parity vectors from N sources, runs baseline version.
|
||||
|
||||
Reference in New Issue
Block a user