Browse Source

Merge pull request #4998 from dg0yt/arm-type-function

arm: Declare symbols as .type function
tags/v0.3.29
Martin Kroeker GitHub 1 year ago
parent
commit
5f65846691
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      common_arm.h

+ 7
- 0
common_arm.h View File

@@ -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


Loading…
Cancel
Save