forked from enlightenment/efl
Only perform runtime checks if the cpu features are enabled.
SVN revision: 7006
This commit is contained in:
parent
2f63ba5e91
commit
47c156847f
|
@ -71,10 +71,14 @@ evas_common_cpu_init(void)
|
|||
if (called) return;
|
||||
called = 1;
|
||||
#ifdef __i386__
|
||||
#ifdef BUILD_MMX
|
||||
cpu_feature_mask |= CPU_FEATURE_MMX *
|
||||
evas_common_cpu_feature_test(evas_common_cpu_mmx_test);
|
||||
#ifdef BUILD_SSE
|
||||
cpu_feature_mask |= CPU_FEATURE_SSE *
|
||||
evas_common_cpu_feature_test(evas_common_cpu_sse_test);
|
||||
#endif /* BUILD_SSE */
|
||||
#endif /* BUILD_MMX */
|
||||
#endif /* __i386__ */
|
||||
#ifdef __POWERPC__
|
||||
#ifdef __VEC__
|
||||
|
|
Loading…
Reference in New Issue