From a6cbb0f65c648ae82934e78b44bcdfd79fec8509 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 27 Oct 2022 17:47:14 -0700 Subject: [PATCH] Fix clang-14 / GNU ld interaction for target_clones --- VM/src/lnumutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VM/src/lnumutils.h b/VM/src/lnumutils.h index 4d7c9516..abaf9af7 100644 --- a/VM/src/lnumutils.h +++ b/VM/src/lnumutils.h @@ -34,7 +34,7 @@ inline bool luai_vecisnan(const float* a) } LUAU_FASTMATH_BEGIN -LUAU_DISPATCH_SSE41 +// TODO: LUAU_DISPATCH_SSE41 would be nice here, but clang-14 doesn't support it correctly on inline functions... inline double luai_nummod(double a, double b) { return a - floor(a / b) * b;