Ability to disable NEON code in runtime
Just set the EVAS_CPU_NO_NEON environment var if you want to disable Neon. The same is done for other specific CPU codes, such as MMX, MMX2, SSE, etc. SVN revision: 50271
This commit is contained in:
parent
9685d5d369
commit
9b3cf97523
|
@ -176,6 +176,8 @@ evas_common_cpu_init(void)
|
|||
cpu_feature_mask |= CPU_FEATURE_NEON *
|
||||
evas_common_cpu_feature_test(evas_common_cpu_neon_test);
|
||||
evas_common_cpu_end_opt();
|
||||
if (getenv("EVAS_CPU_NO_NEON"))
|
||||
cpu_feature_mask &= ~CPU_FEATURE_NEON;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue