FreeRDP
Loading...
Searching...
No Matches
prim_shift.h
1
21#ifndef FREERDP_LIB_PRIM_SHIFT_H
22#define FREERDP_LIB_PRIM_SHIFT_H
23
24#include <winpr/wtypes.h>
25#include <winpr/sysinfo.h>
26
27#include <freerdp/config.h>
28#include <freerdp/primitives.h>
29#include "prim_internal.h"
30
31FREERDP_LOCAL void primitives_init_shift_sse3_int(primitives_t* WINPR_RESTRICT prims);
32static inline void primitives_init_shift_sse3(primitives_t* WINPR_RESTRICT prims)
33{
34 if (!IsProcessorFeaturePresent(PF_SSE2_INSTRUCTIONS_AVAILABLE) ||
35 !IsProcessorFeaturePresent(PF_SSE3_INSTRUCTIONS_AVAILABLE))
36 return;
37
38 primitives_init_shift_sse3_int(prims);
39}
40
41#endif