mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 12:21:37 +08:00
f9a27e08b3
* [openexr] fix usage of unrequested intrinsics * v db * remove intrin patch * v db --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
14 lines
532 B
Diff
14 lines
532 B
Diff
diff --git a/src/lib/OpenEXRCore/unpack.c b/src/lib/OpenEXRCore/unpack.c
|
|
index 7587eb2..79061b8 100644
|
|
--- a/src/lib/OpenEXRCore/unpack.c
|
|
+++ b/src/lib/OpenEXRCore/unpack.c
|
|
@@ -37,7 +39,7 @@ half_to_float8 (float* out, const uint16_t* src)
|
|
}
|
|
#endif
|
|
|
|
-#if (defined(__x86_64__) || defined(_M_X64)) && \
|
|
+#if (defined(__x86_64__) || defined(_M_X64)) && defined(__AVX__) && \
|
|
(defined(__F16C__) || defined(__GNUC__) || defined(__clang__))
|
|
|
|
# if defined(__F16C__)
|