MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_SIMDGetAlignment

Function SDL_SIMDGetAlignment

deps/SDL2/src/cpuinfo/SDL_cpuinfo.c:932–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930
931
932size_t
933SDL_SIMDGetAlignment(void)
934{
935 if (SDL_SIMDAlignment == 0xFFFFFFFF) {
936 SDL_GetCPUFeatures(); /* make sure this has been calculated */
937 }
938 SDL_assert(SDL_SIMDAlignment != 0);
939 return SDL_SIMDAlignment;
940}
941
942void *
943SDL_SIMDAlloc(const size_t len)

Callers 1

SDL_SIMDAllocFunction · 0.85

Calls 1

SDL_GetCPUFeaturesFunction · 0.85

Tested by

no test coverage detected