forked from enlightenment/efl
so... gcc was optimizing the test out... that sucks! fix. make sure gcc
doesnt know what to do with optimizing and actually compiles the code! SVN revision: 63775
This commit is contained in:
parent
2729248566
commit
620d2573f3
|
@ -61,12 +61,17 @@ evas_common_op_blend_rel_init_sse3(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
//#pragma GCC push_options
|
||||
//#pragma GCC optimize ("O0")
|
||||
void
|
||||
evas_common_op_sse3_test(void)
|
||||
{
|
||||
#ifdef BUILD_SSE3
|
||||
int data[4];
|
||||
DATA32 s[64] = {0x11883399}, d[64] = {0xff88cc33};
|
||||
|
||||
_mm_lddqu_si128((__m128i *)data);
|
||||
s[0] = rand(); d[1] = rand();
|
||||
_op_blend_pas_dp_sse3(s, NULL, 0, d, 64);
|
||||
evas_common_cpu_end_opt();
|
||||
#endif
|
||||
}
|
||||
//#pragma GCC pop_options
|
||||
|
|
Loading…
Reference in New Issue