Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Clean up sparc64 patch (PTHREAD_MUTEXATTR) Changes: https://code.mpimet.mpg.de/projects/cdo/news
- Loading branch information
Showing
7 changed files
with
46 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1708448952 | ||
SHA256 (cdo-2.3.0.tar.gz) = 10c878227baf718a6917837527d4426c2d0022cfac4457c65155b9c57f091f6b | ||
SIZE (cdo-2.3.0.tar.gz) = 13588973 | ||
TIMESTAMP = 1712644648 | ||
SHA256 (cdo-2.4.0.tar.gz) = a4790fb8cc07f353b11f9bbe49218b8e4be8e5ae56aade8420bad390510b4d2c | ||
SIZE (cdo-2.4.0.tar.gz) = 13497565 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- libcdi/src/cgribexlib.c.orig 2024-02-02 10:51:13 UTC | ||
+++ libcdi/src/cgribexlib.c | ||
@@ -10,7 +10,7 @@ | ||
#pragma GCC diagnostic warning "-Wstrict-overflow" | ||
#endif | ||
|
||
-#ifdef _ARCH_PWR6 | ||
+#if defined(_ARCH_PWR6) && defined(__GLIBC__) | ||
#pragma options nostrict | ||
#include <ppu_intrinsics.h> | ||
#endif | ||
@@ -766,21 +766,21 @@ pwr6_minmax_val_double_unrolled6(const double *restric | ||
{ | ||
for (size_t j = 0; j < __UNROLL_DEPTH_1; ++j) | ||
{ | ||
- dmin[j] = __fsel(dmin[j] - data[i + j], data[i + j], dmin[j]); | ||
- dmax[j] = __fsel(data[i + j] - dmax[j], data[i + j], dmax[j]); | ||
+ dmin[j] = __builtin_ppc_fsel(dmin[j] - data[i + j], data[i + j], dmin[j]); | ||
+ dmax[j] = __builtin_ppc_fsel(data[i + j] - dmax[j], data[i + j], dmax[j]); | ||
} | ||
} | ||
|
||
for (size_t j = 0; j < residual; ++j) | ||
{ | ||
- dmin[j] = __fsel(dmin[j] - data[ofs + j], data[ofs + j], dmin[j]); | ||
- dmax[j] = __fsel(data[ofs + j] - dmax[j], data[ofs + j], dmax[j]); | ||
+ dmin[j] = __builtin_ppc_fsel(dmin[j] - data[ofs + j], data[ofs + j], dmin[j]); | ||
+ dmax[j] = __builtin_ppc_fsel(data[ofs + j] - dmax[j], data[ofs + j], dmax[j]); | ||
} | ||
|
||
for (size_t j = 0; j < __UNROLL_DEPTH_1; ++j) | ||
{ | ||
- *fmin = __fsel(*fmin - dmin[j], dmin[j], *fmin); | ||
- *fmax = __fsel(dmax[j] - *fmax, dmax[j], *fmax); | ||
+ *fmin = __builtin_ppc_fsel(*fmin - dmin[j], dmin[j], *fmin); | ||
+ *fmax = __builtin_ppc_fsel(dmax[j] - *fmax, dmax[j], *fmax); | ||
} | ||
} | ||
#undef __UNROLL_DEPTH_1 |