Sse scaling (#52)

* Add CPUID functions for runtime dispatch
* Add SSE2 scaling
This commit is contained in:
mmcclaskey
2021-09-09 13:55:33 -04:00
committed by GitHub
parent dc21d5f97c
commit 0cb2c0ba9f
10 changed files with 521 additions and 1 deletions

View File

@@ -53,6 +53,7 @@
#include <network/GetAPI.h>
#include <rfb/cpuid.h>
#include <rfb/ComparingUpdateTracker.h>
#include <rfb/KeyRemapper.h>
#include <rfb/ListConnInfo.h>
@@ -134,6 +135,9 @@ VNCServerST::VNCServerST(const char* name_, SDesktop* desktop_)
{
lastUserInputTime = lastDisconnectTime = time(0);
slog.debug("creating single-threaded server %s", name.buf);
slog.info("CPU capability: SSE2 %s, AVX512f %s",
supportsSSE2() ? "yes" : "no",
supportsAVX512f() ? "yes" : "no");
DLPRegion.enabled = DLPRegion.percents = false;