diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2019-03-29 19:36:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 19:36:29 +0100 |
commit | 7c51cc8527b36d492521411060687cb68aba1b86 (patch) | |
tree | b15a0a990d420097efd650d25e556ca93dee1b53 /common_power.h | |
parent | 853a18bc17628fb1e8615503304ceedef9d45030 (diff) | |
parent | 3ae122e2c7c58c973712990020787faa338103c3 (diff) | |
download | openblas-7c51cc8527b36d492521411060687cb68aba1b86.tar.gz openblas-7c51cc8527b36d492521411060687cb68aba1b86.tar.bz2 openblas-7c51cc8527b36d492521411060687cb68aba1b86.zip |
Merge branch 'develop' into develop
Diffstat (limited to 'common_power.h')
-rw-r--r-- | common_power.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/common_power.h b/common_power.h index ddbee9412..889205c75 100644 --- a/common_power.h +++ b/common_power.h @@ -241,7 +241,7 @@ static inline int blas_quickdivide(blasint x, blasint y){ #define HAVE_PREFETCH #endif -#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) +#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || ( defined(PPC970) && defined(OS_DARWIN) ) #define DCBT_ARG 0 #else #define DCBT_ARG 8 @@ -598,9 +598,14 @@ REALNAME:;\ #ifndef __64BIT__ #define PROLOGUE \ .machine "any";\ + .toc;\ .globl .REALNAME;\ + .globl REALNAME;\ + .csect REALNAME[DS],3;\ +REALNAME:;\ + .long .REALNAME, TOC[tc0], 0;\ .csect .text[PR],5;\ -.REALNAME:; +.REALNAME: #define EPILOGUE \ _section_.text:;\ @@ -611,9 +616,14 @@ _section_.text:;\ #define PROLOGUE \ .machine "any";\ + .toc;\ .globl .REALNAME;\ + .globl REALNAME;\ + .csect REALNAME[DS],3;\ +REALNAME:;\ + .llong .REALNAME, TOC[tc0], 0;\ .csect .text[PR], 5;\ -.REALNAME:; +.REALNAME: #define EPILOGUE \ _section_.text:;\ |