Index: head/science/cgribex/files/patch-src_minmax__val.c =================================================================== --- head/science/cgribex/files/patch-src_minmax__val.c (nonexistent) +++ head/science/cgribex/files/patch-src_minmax__val.c (revision 563073) @@ -0,0 +1,22 @@ +--- src/minmax_val.c.orig 2021-01-26 13:07:53 UTC ++++ src/minmax_val.c +@@ -292,6 +291,19 @@ void sse2_minmax_val_double(const double *restrict buf + #endif // SIMD + + #if defined(_ARCH_PWR6) ++ ++#ifndef __fsel ++static __inline__ double __fsel(double x, double y, double z) ++ __attribute__((always_inline)); ++static __inline__ double ++__fsel(double x, double y, double z) ++{ ++ double r; ++ __asm__("fsel %0,%1,%2,%3" : "=d"(r) : "d"(x),"d"(y),"d"(z)); ++ return r; ++} ++#endif ++ + static + void pwr6_minmax_val_double_unrolled6(const double *restrict data, size_t datasize, double *fmin, double *fmax) + { Property changes on: head/science/cgribex/files/patch-src_minmax__val.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property