summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-10-03 16:29:12 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-10-03 16:29:12 +0000
commit620d2573f37e588fea4957bd3e5f5eb916467e0f (patch)
tree440ee24180d5cb2ff6019052713a6ee622e961fa /legacy
parent27292485669949d0080b1185f5323fa40ae2dd89 (diff)
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
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_master_sse3.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_master_sse3.c b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_master_sse3.c
index 006658904b..eac6755b97 100644
--- a/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_master_sse3.c
+++ b/legacy/evas/src/lib/engines/common/evas_op_blend/op_blend_master_sse3.c
@@ -61,12 +61,17 @@ evas_common_op_blend_rel_init_sse3(void)
61#endif 61#endif
62} 62}
63 63
64//#pragma GCC push_options
65//#pragma GCC optimize ("O0")
64void 66void
65evas_common_op_sse3_test(void) 67evas_common_op_sse3_test(void)
66{ 68{
67#ifdef BUILD_SSE3 69#ifdef BUILD_SSE3
68 int data[4]; 70 DATA32 s[64] = {0x11883399}, d[64] = {0xff88cc33};
69 71
70 _mm_lddqu_si128((__m128i *)data); 72 s[0] = rand(); d[1] = rand();
73 _op_blend_pas_dp_sse3(s, NULL, 0, d, 64);
74 evas_common_cpu_end_opt();
71#endif 75#endif
72} 76}
77//#pragma GCC pop_options