diff --git a/common_arm.h b/common_arm.h index a3db995..5f45976 100644 --- a/common_arm.h +++ b/common_arm.h @@ -104,9 +104,16 @@ static inline int blas_quickdivide(blasint x, blasint y){ #if defined(ASSEMBLER) && !defined(NEEDPARAM) +#if !defined(__APPLE__) && !defined(_WIN32) +#define OPENBLAS_ARM_TYPE_FUNCTION .type REALNAME, %function ; +#else +#define OPENBLAS_ARM_TYPE_FUNCTION +#endif + #define PROLOGUE \ .arm ;\ .global REALNAME ;\ + OPENBLAS_ARM_TYPE_FUNCTION \ REALNAME: #define EPILOGUE