Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 36660621
en ru br
ALT Linux repos
S:2.11.2-alt1

Group :: Networking/Remote access
RPM: freerdp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: freerdp-e2k.patch
Download


diff --git a/winpr/libwinpr/sysinfo/sysinfo.c b/winpr/libwinpr/sysinfo/sysinfo.c
index dd15bb3..213b53e 100644
--- a/winpr/libwinpr/sysinfo/sysinfo.c
+++ b/winpr/libwinpr/sysinfo/sysinfo.c
@@ -711,6 +711,20 @@ BOOL IsProcessorFeaturePresent(DWORD ProcessorFeature)
 			return FALSE;
 	}
 
+#elif __e2k__
+
+	switch (ProcessorFeature)
+	{
+		case PF_MMX_INSTRUCTIONS_AVAILABLE:
+		case PF_XMMI_INSTRUCTIONS_AVAILABLE: /* SSE */
+		case PF_XMMI64_INSTRUCTIONS_AVAILABLE: /* SSE2 */
+		case PF_SSE3_INSTRUCTIONS_AVAILABLE:
+			return TRUE;
+
+		default:
+			break;
+	}
+
 #elif defined(_M_ARM)
 #ifdef __linux__
 	const unsigned caps = GetARMCPUCaps();
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin