MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / SupportsSSE

Function SupportsSSE

cmp_compressonatorlib/common/codec.cpp:145–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143#endif
144
145bool SupportsSSE()
146{
147#if defined(USE_SSE)
148 int info[4];
149 cpuid(info, 0);
150
151 int nIds = info[0];
152
153 if (nIds >= 1)
154 {
155 return ((info[3] & ((int)1 << 25)) != 0);
156 }
157#endif
158 return false;
159}
160
161bool SupportsSSE2()
162{

Callers 2

CCodec_Block_4x4Method · 0.85
SetParameterMethod · 0.85

Calls 1

cpuidFunction · 0.85

Tested by

no test coverage detected