Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4998 from dg0yt/arm-type-function
Browse files Browse the repository at this point in the history
arm: Declare symbols as .type function
  • Loading branch information
martin-frbg authored Dec 4, 2024
2 parents 0578a89 + dc90563 commit 5f65846
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,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
Expand Down

0 comments on commit 5f65846

Please sign in to comment.