forked from enlightenment/efl
smaller buf for sse test (was too big anyway) and mmx2 is prettry much sse :)
SVN revision: 20130
This commit is contained in:
parent
62153578d0
commit
852c800117
|
@ -53,7 +53,7 @@ void
|
||||||
evas_common_cpu_sse_test(void)
|
evas_common_cpu_sse_test(void)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_SSE
|
#ifdef BUILD_SSE
|
||||||
int blah[2500];
|
int blah[16];
|
||||||
|
|
||||||
movntq_r2m(mm0, blah);
|
movntq_r2m(mm0, blah);
|
||||||
#endif
|
#endif
|
||||||
|
@ -181,7 +181,7 @@ evas_common_cpu_can_do(int *mmx, int *sse, int *sse2)
|
||||||
cpu_feature_mask |= CPU_FEATURE_MMX;
|
cpu_feature_mask |= CPU_FEATURE_MMX;
|
||||||
#endif
|
#endif
|
||||||
if (cpu_feature_mask & CPU_FEATURE_MMX) do_mmx = 1;
|
if (cpu_feature_mask & CPU_FEATURE_MMX) do_mmx = 1;
|
||||||
if (cpu_feature_mask & CPU_FEATURE_MMX2) do_mmx = 2;
|
if (cpu_feature_mask & CPU_FEATURE_MMX2) do_sse = 1;
|
||||||
if (cpu_feature_mask & CPU_FEATURE_SSE) do_sse = 1;
|
if (cpu_feature_mask & CPU_FEATURE_SSE) do_sse = 1;
|
||||||
}
|
}
|
||||||
// printf("%i %i %i\n", do_mmx, do_sse, do_sse2);
|
// printf("%i %i %i\n", do_mmx, do_sse, do_sse2);
|
||||||
|
|
Loading…
Reference in New Issue