mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add architecture definition files for Qualcomm Hexagon Vector Extension (HVX)
This commit is contained in:
committed by
Antonio Sánchez
parent
2af700aa40
commit
66e8f38891
@@ -54,6 +54,8 @@
|
||||
#elif defined(__AVX__)
|
||||
// 32 bytes static alignment is preferred only if really required
|
||||
#define EIGEN_IDEAL_MAX_ALIGN_BYTES 32
|
||||
#elif defined __HVX__ && (__HVX_LENGTH__ == 128)
|
||||
#define EIGEN_IDEAL_MAX_ALIGN_BYTES 128
|
||||
#else
|
||||
#define EIGEN_IDEAL_MAX_ALIGN_BYTES 16
|
||||
#endif
|
||||
@@ -417,6 +419,12 @@
|
||||
#include <msa.h>
|
||||
#endif
|
||||
|
||||
#elif defined __HVX__ && (__HVX_LENGTH__ == 128)
|
||||
|
||||
#define EIGEN_VECTORIZE
|
||||
#define EIGEN_VECTORIZE_HVX
|
||||
#include <hexagon_types.h>
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user