diff options
Diffstat (limited to 'libraries/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_i386.c')
-rw-r--r-- | libraries/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_i386.c | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/libraries/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_i386.c b/libraries/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_i386.c deleted file mode 100644 index a1c09af..0000000 --- a/libraries/evas/src/lib/engines/common/evas_op_mask/op_mask_pixel_i386.c +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | /* mask pixel --> dst */ | ||
2 | |||
3 | #ifdef BUILD_MMX | ||
4 | static void | ||
5 | _op_mask_p_dp_mmx(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d, int l) { | ||
6 | DATA32 *e = d + l; | ||
7 | MOV_A2R(ALPHA_255, mm5) | ||
8 | pxor_r2r(mm0, mm0); | ||
9 | for (; d < e; d++) { | ||
10 | MOV_P2R(*d, mm1, mm0) | ||
11 | MOV_PA2R(*s, mm2) | ||
12 | MUL4_SYM_R2R(mm2, mm1, mm5) | ||
13 | MOV_R2P(mm1, *d, mm0) | ||
14 | } | ||
15 | } | ||
16 | |||
17 | #define _op_mask_pas_dp_mmx _op_mask_p_dp_mmx | ||
18 | |||
19 | #define _op_mask_p_dpan_mmx _op_mask_p_dp_mmx | ||
20 | #define _op_mask_pas_dpan_mmx _op_mask_pas_dp_mmx | ||
21 | |||
22 | static void | ||
23 | init_mask_pixel_span_funcs_mmx(void) | ||
24 | { | ||
25 | op_mask_span_funcs[SP][SM_N][SC_N][DP][CPU_MMX] = _op_mask_p_dp_mmx; | ||
26 | op_mask_span_funcs[SP_AS][SM_N][SC_N][DP][CPU_MMX] = _op_mask_pas_dp_mmx; | ||
27 | |||
28 | op_mask_span_funcs[SP][SM_N][SC_N][DP_AN][CPU_MMX] = _op_mask_p_dpan_mmx; | ||
29 | op_mask_span_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_MMX] = _op_mask_pas_dpan_mmx; | ||
30 | } | ||
31 | #endif | ||
32 | |||
33 | #ifdef BUILD_MMX | ||
34 | static void | ||
35 | _op_mask_pt_p_dp_mmx(DATA32 s, DATA8 m __UNUSED__, DATA32 c __UNUSED__, DATA32 *d) { | ||
36 | MOV_A2R(ALPHA_255, mm5) | ||
37 | pxor_r2r(mm0, mm0); | ||
38 | MOV_P2R(*d, mm1, mm0) | ||
39 | MOV_PA2R(s, mm2) | ||
40 | MUL4_SYM_R2R(mm2, mm1, mm5) | ||
41 | MOV_R2P(mm1, *d, mm0) | ||
42 | } | ||
43 | |||
44 | #define _op_mask_pt_pas_dp_mmx _op_mask_pt_p_dp_mmx | ||
45 | |||
46 | #define _op_mask_pt_p_dpan_mmx _op_mask_pt_p_dp_mmx | ||
47 | #define _op_mask_pt_pas_dpan_mmx _op_mask_pt_pas_dp_mmx | ||
48 | |||
49 | static void | ||
50 | init_mask_pixel_pt_funcs_mmx(void) | ||
51 | { | ||
52 | op_mask_pt_funcs[SP][SM_N][SC_N][DP][CPU_MMX] = _op_mask_pt_p_dp_mmx; | ||
53 | op_mask_pt_funcs[SP_AS][SM_N][SC_N][DP][CPU_MMX] = _op_mask_pt_pas_dp_mmx; | ||
54 | |||
55 | op_mask_pt_funcs[SP][SM_N][SC_N][DP_AN][CPU_MMX] = _op_mask_pt_p_dpan_mmx; | ||
56 | op_mask_pt_funcs[SP_AS][SM_N][SC_N][DP_AN][CPU_MMX] = _op_mask_pt_pas_dpan_mmx; | ||
57 | } | ||
58 | #endif | ||