Group :: System/Libraries
RPM: openexr
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: openexr-e2k-simd.patch
Download
Download
diff --git a/openexr/IlmImf/ImfSystemSpecific.cpp b/openexr/IlmImf/ImfSystemSpecific.cpp
index 76fdfe6..4d69e9d 100644
--- a/openexr/IlmImf/ImfSystemSpecific.cpp
+++ b/openexr/IlmImf/ImfSystemSpecific.cpp
@@ -39,6 +39,12 @@
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
+#ifdef __e2k__
+CpuId::CpuId():
+ sse2(true), sse3(true), ssse3(true), sse4_1(true),
+ sse4_2(false), avx(false), f16c(false) { }
+#else
+
namespace {
#if defined(IMF_HAVE_SSE2) && defined(__GNUC__)
@@ -126,5 +132,6 @@ CpuId::CpuId():
}
}
}
+#endif
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_EXIT