Parent Directory | Revision Log
Revision 1.1.14.1 - (view) (download)
1 : | Isibaar | 1.1.14.1 | // **************************************************************************** |
2 : | // * | ||
3 : | // * XVID MPEG-4 VIDEO CODEC | ||
4 : | // * - IA64 halfpel refinement - | ||
5 : | // * | ||
6 : | // * Copyright(C) 2002 Johannes Singler, Daniel Winkler | ||
7 : | // * | ||
8 : | // * This program is free software; you can redistribute it and/or modify it | ||
9 : | // * under the terms of the GNU General Public License as published by | ||
10 : | // * the Free Software Foundation; either version 2 of the License, or | ||
11 : | // * (at your option) any later version. | ||
12 : | // * | ||
13 : | // * This program is distributed in the hope that it will be useful, | ||
14 : | // * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 : | // * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 : | // * GNU General Public License for more details. | ||
17 : | // * | ||
18 : | // * You should have received a copy of the GNU General Public License | ||
19 : | // * along with this program; if not, write to the Free Software | ||
20 : | // * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 : | // * | ||
22 : | // * $Id: calc_delta_1.s,v 1.2 2009/02/19 17:07:29 Isibaar Exp $ | ||
23 : | // * | ||
24 : | // ***************************************************************************/ | ||
25 : | // | ||
26 : | // **************************************************************************** | ||
27 : | // * | ||
28 : | // * calc_delta_1.s, IA-64 halfpel refinement | ||
29 : | // * | ||
30 : | // * This version was implemented during an IA-64 practical training at | ||
31 : | // * the University of Karlsruhe (http://i44w3.info.uni-karlsruhe.de/) | ||
32 : | // * | ||
33 : | // **************************************************************************** | ||
34 : | |||
35 : | ia64p | 1.1 | ;; |
36 : | getf.sig ret0 = fmv | ||
37 : | add mpr[0] = mpr[0], mpr[1] | ||
38 : | add mpr[2] = mpr[2], mpr[3] | ||
39 : | add mpr[4] = mpr[4], mpr[5] | ||
40 : | add mpr[6] = mpr[6], mpr[7] | ||
41 : | ;; | ||
42 : | add mpr[0] = mpr[0], mpr[2] | ||
43 : | add mpr[4] = mpr[4], mpr[6] | ||
44 : | mov component[0] = dx | ||
45 : | mov component[1] = dy | ||
46 : | |||
47 : | cmp.ne non0_2, p0 = 0, dx | ||
48 : | cmp.gt neg_2, p0 = 0, dx | ||
49 : | |||
50 : | .pred.rel "mutex", p32, p36 //non0_0, neg_0 | ||
51 : | |||
52 : | cmp.ne non0_3, p0 = 0, dy | ||
53 : | cmp.gt neg_3, p0 = 0, dy | ||
54 : | ;; | ||
55 : | .pred.rel "mutex", p33, p37 //non0_1, neg_1 | ||
56 : | |||
57 : | add iSAD = iSAD, ret0 | ||
58 : | add mpr[8] = mpr[0], mpr[4] | ||
59 : | (neg_2) sub component[0] = 0, component[0] //abs | ||
60 : | (neg_3) sub component[1] = 0, component[1] //abs | ||
61 : | ;; |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |