|
|
7dd256 |
--- atlas/ATLAS/tune/blas/gemm/CASES/ATL_dmm4x4x80_ppc.c 2013-12-05 19:19:57.000000000 +0100
|
|
|
7dd256 |
+++ atlas/ATLAS/tune/blas/gemm/CASES/ATL_dmm4x4x80_ppc.c.new 2013-12-06 16:29:57.000000000 +0100
|
|
|
7dd256 |
@@ -170,13 +170,21 @@ void ATL_USERMM(const int M, const int N
|
|
|
7dd256 |
const TYPE beta, TYPE *C, const int ldc)
|
|
|
7dd256 |
(r10) 8(r1)
|
|
|
7dd256 |
*******************************************************************************
|
|
|
7dd256 |
-64 bit ABIs:
|
|
|
7dd256 |
+64 bit ABIv1s:
|
|
|
7dd256 |
r3 r4 r5 r6/f1
|
|
|
7dd256 |
void ATL_USERMM(const int M, const int N, const int K, const TYPE alpha,
|
|
|
7dd256 |
r7 r8 r9 r10
|
|
|
7dd256 |
const TYPE *A, const int lda, const TYPE *B, const int ldb,
|
|
|
7dd256 |
f2 120(r1) 128(r1)
|
|
|
7dd256 |
const TYPE beta, TYPE *C, const int ldc)
|
|
|
7dd256 |
+
|
|
|
7dd256 |
+64 bit ABIv2s:
|
|
|
7dd256 |
+ r3 r4 r5 r6/f1
|
|
|
7dd256 |
+void ATL_USERMM(const int M, const int N, const int K, const TYPE alpha,
|
|
|
7dd256 |
+ r7 r8 r9 r10
|
|
|
7dd256 |
+ const TYPE *A, const int lda, const TYPE *B, const int ldb,
|
|
|
7dd256 |
+ f2 104(r1) 112(r1)
|
|
|
7dd256 |
+ const TYPE beta, TYPE *C, const int ldc)
|
|
|
7dd256 |
#endif
|
|
|
7dd256 |
#ifdef ATL_AS_AIX_PPC
|
|
|
7dd256 |
.csect .text[PR]
|
|
|
7dd256 |
@@ -202,7 +210,7 @@ Mjoin(.,ATL_USERMM):
|
|
|
7dd256 |
.globl Mjoin(_,ATL_USERMM)
|
|
|
7dd256 |
Mjoin(_,ATL_USERMM):
|
|
|
7dd256 |
#else
|
|
|
7dd256 |
- #if defined(ATL_USE64BITS)
|
|
|
7dd256 |
+ #if defined(ATL_USE64BITS) && _CALL_ELF != 2
|
|
|
7dd256 |
/*
|
|
|
7dd256 |
* Official Program Descripter section, seg fault w/o it on Linux/PPC64
|
|
|
7dd256 |
*/
|
|
|
7dd256 |
@@ -217,6 +225,7 @@ ATL_USERMM:
|
|
|
7dd256 |
.globl Mjoin(.,ATL_USERMM)
|
|
|
7dd256 |
Mjoin(.,ATL_USERMM):
|
|
|
7dd256 |
#else
|
|
|
7dd256 |
+/* ppc64 have no longer function descriptors in ABIv2 */
|
|
|
7dd256 |
.globl ATL_USERMM
|
|
|
7dd256 |
ATL_USERMM:
|
|
|
7dd256 |
#endif
|
|
|
7dd256 |
@@ -257,9 +266,17 @@ ATL_USERMM:
|
|
|
7dd256 |
#endif
|
|
|
7dd256 |
#endif
|
|
|
7dd256 |
|
|
|
7dd256 |
+
|
|
|
7dd256 |
#if defined (ATL_USE64BITS)
|
|
|
7dd256 |
+#if _CALL_ELF == 2
|
|
|
7dd256 |
+/* ABIv2 */
|
|
|
7dd256 |
+ ld pC0, 104(r1)
|
|
|
7dd256 |
+ ld incCn, 112(r1)
|
|
|
7dd256 |
+#else
|
|
|
7dd256 |
+/* ABIv1 */
|
|
|
7dd256 |
ld pC0, 120(r1)
|
|
|
7dd256 |
ld incCn, 128(r1)
|
|
|
7dd256 |
+#endif
|
|
|
7dd256 |
#elif defined(ATL_AS_OSX_PPC) || defined(ATL_AS_AIX_PPC)
|
|
|
7dd256 |
lwz pC0, 68(r1)
|
|
|
7dd256 |
lwz incCn, 72(r1)
|