@@ -1014,6 +1014,11 @@ FINUFFT_NEVER_INLINE static void interp_square_wrap(
10141014 target[1 ] = out[1 ];
10151015}
10161016
1017+ #pragma GCC optimize("no-math-errno")
1018+ #pragma GCC optimize("no-signed-zeros")
1019+ #pragma GCC optimize("no-trapping-math")
1020+ #pragma GCC optimize("associative-math")
1021+ #pragma GCC optimize("reciprocal-math")
10171022template <uint8_t ns, class simd_type >
10181023void interp_square (FLT *FINUFFT_RESTRICT target, const FLT *du, const FLT *ker1,
10191024 const FLT *ker2, const BIGINT i1, const BIGINT i2, const UBIGINT N1,
@@ -1213,6 +1218,11 @@ FINUFFT_NEVER_INLINE static void interp_cube_wrapped(
12131218 target[1 ] = out[1 ];
12141219}
12151220
1221+ #pragma GCC optimize("no-math-errno")
1222+ #pragma GCC optimize("no-signed-zeros")
1223+ #pragma GCC optimize("no-trapping-math")
1224+ #pragma GCC optimize("associative-math")
1225+ #pragma GCC optimize("reciprocal-math")
12161226template <uint8_t ns, class simd_type >
12171227void interp_cube (FLT *FINUFFT_RESTRICT target, const FLT *du, const FLT *ker1,
12181228 const FLT *ker2, const FLT *ker3, const BIGINT i1, const BIGINT i2,
0 commit comments