Browse Source
Merge pull request #3607 from martin-frbg/issue3603
Fix undefined PREFETCHSIZEs in PPC440 GEMV kernels
tags/v0.3.21
Martin Kroeker
GitHub
4 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
9 additions and
0 deletions
-
kernel/power/gemv_n_ppc440.S
-
kernel/power/gemv_t_ppc440.S
|
|
@@ -131,6 +131,10 @@ |
|
|
|
|
|
|
|
|
#define alpha f27 |
|
|
#define alpha f27 |
|
|
|
|
|
|
|
|
|
|
|
#if defined(PPC440) |
|
|
|
|
|
#define PREFETCHSIZE_A (3 * 4) |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if defined(PPCG4) |
|
|
#if defined(PPCG4) |
|
|
#define PREFETCHSIZE_A (3 * 4) |
|
|
#define PREFETCHSIZE_A (3 * 4) |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
@@ -96,6 +96,11 @@ |
|
|
#define X1 r22 |
|
|
#define X1 r22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(PPC440) |
|
|
|
|
|
#define PREFETCHSIZE_A 42 |
|
|
|
|
|
#define PREFETCHSIZE_C 7 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if defined(PPCG4) |
|
|
#if defined(PPCG4) |
|
|
#define PREFETCHSIZE_A 42 |
|
|
#define PREFETCHSIZE_A 42 |
|
|
#define PREFETCHSIZE_C 7 |
|
|
#define PREFETCHSIZE_C 7 |
|
|
|