diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_i386.c | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_i386.c | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/libraries/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_i386.c b/libraries/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_i386.c deleted file mode 100644 index ebbac01..0000000 --- a/libraries/evas/src/lib/engines/common/evas_op_mul/op_mul_pixel_mask_i386.c +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | /* mul pixel x mask --> dst */ | ||
2 | |||
3 | #ifdef BUILD_MMX | ||
4 | static void | ||
5 | _op_mul_p_mas_dp_mmx(DATA32 *s, DATA8 *m, DATA32 c, DATA32 *d, int l) { | ||
6 | DATA32 *e = d + l; | ||
7 | MOV_A2R(ALPHA_255, mm5) | ||
8 | pxor_r2r(mm0, mm0); | ||
9 | while (d < e) { | ||
10 | c = *m; | ||
11 | switch(c) | ||
12 | { | ||
13 | case 0: | ||
14 | break; | ||
15 | case 255: | ||
16 | MOV_P2R(*d, mm1, mm0) | ||
17 | MOV_P2R(*s, mm2, mm0) | ||
18 | MUL4_SYM_R2R(mm2, mm1, mm5) | ||
19 | MOV_R2P(mm1, *d, mm0) | ||
20 | break; | ||
21 | default: | ||
22 | c++; | ||
23 | MOV_A2R(c, mm1) | ||
24 | c = ~(*s); | ||
25 | MOV_P2R(c, mm3, mm0) | ||
26 | MUL4_256_R2R(mm3, mm1) | ||
27 | movq_r2r(mm5, mm4); | ||
28 | psubw_r2r(mm1, mm4); | ||
29 | MOV_P2R(*d, mm1, mm0) | ||
30 | MUL4_SYM_R2R(mm4, mm1, mm5) | ||
31 | MOV_R2P(mm1, *d, mm0) | ||
32 | break; | ||
33 | } | ||
34 | s++; m++; d++; | ||
35 | } | ||
36 | } | ||
37 | |||
38 | #define _op_mul_pas_mas_dp_mmx _op_mul_p_mas_dp_mmx | ||
39 | #define _op_mul_pan_mas_dp_mmx _op_mul_p_mas_dp_mmx | ||
40 | |||
41 | #define _op_mul_p_mas_dpan_mmx _op_mul_p_mas_dp_mmx | ||
42 | #define _op_mul_pas_mas_dpan_mmx _op_mul_pas_mas_dp_mmx | ||
43 | #define _op_mul_pan_mas_dpan_mmx _op_mul_pan_mas_dp_mmx | ||
44 | |||
45 | static void | ||
46 | init_mul_pixel_mask_span_funcs_mmx(void) | ||
47 | { | ||
48 | op_mul_span_funcs[SP][SM_AS][SC_N][DP][CPU_MMX] = _op_mul_p_mas_dp_mmx; | ||
49 | op_mul_span_funcs[SP_AS][SM_AS][SC_N][DP][CPU_MMX] = _op_mul_pas_mas_dp_mmx; | ||
50 | op_mul_span_funcs[SP_AN][SM_AS][SC_N][DP][CPU_MMX] = _op_mul_pan_mas_dp_mmx; | ||
51 | |||
52 | op_mul_span_funcs[SP][SM_AS][SC_N][DP_AN][CPU_MMX] = _op_mul_p_mas_dpan_mmx; | ||
53 | op_mul_span_funcs[SP_AS][SM_AS][SC_N][DP_AN][CPU_MMX] = _op_mul_pas_mas_dpan_mmx; | ||
54 | op_mul_span_funcs[SP_AN][SM_AS][SC_N][DP_AN][CPU_MMX] = _op_mul_pan_mas_dpan_mmx; | ||
55 | } | ||
56 | #endif | ||
57 | |||
58 | #ifdef BUILD_MMX | ||
59 | static void | ||
60 | init_mul_pixel_mask_pt_funcs_mmx(void) | ||
61 | { | ||
62 | } | ||
63 | #endif | ||