[svn] / trunk / xvidcore / src / motion / ia64_asm / calc_delta_2.s Repository:
ViewVC logotype

Annotation of /trunk/xvidcore/src/motion/ia64_asm/calc_delta_2.s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 300 - (view) (download)

1 : ia64p 300 (non0_2) mov sc[0] = 1
2 :     (non0_3) mov sc[1] = 1
3 :     ;;
4 :     add mpr[0] = mpr[0], mpr[1]
5 :     (non0_2) shl sc[0] = sc[0], iFcode
6 :     add mpr[2] = mpr[2], mpr[3]
7 :     (non0_3) shl sc[1] = sc[1], iFcode
8 :     add mpr[4] = mpr[4], mpr[5]
9 :     add mpr[6] = mpr[6], mpr[7]
10 :     ;;
11 :     (non0_2) add sc[0] = -1, sc[0]
12 :     (non0_3) add sc[1] = -1, sc[1]
13 :     mov ret0 = 2
14 :     ;;
15 :     (non0_2) add component[0] = component[0], sc[0]
16 :     (non0_3) add component[1] = component[1], sc[1]
17 :     ;;
18 :     (non0_2) shr component[0] = component[0], iFcode
19 :     (non0_3) shr component[1] = component[1], iFcode
20 :     add mpr[0] = mpr[0], mpr[2]
21 :     add mpr[4] = mpr[4], mpr[6]
22 :     ;;
23 :     (non0_2) cmp.lt cg32_0, p0 = 32, component[0]
24 :     (non0_3) cmp.lt cg32_1, p0 = 32, component[1]
25 :     ;;
26 :     (cg32_0) mov component[0] = 32
27 :     (cg32_1) mov component[1] = 32
28 :     ;;
29 :     (non0_2) addl tabaddress[0] = @gprel(mvtab#), gp
30 :     (non0_3) addl tabaddress[1] = @gprel(mvtab#), gp
31 :     ;;
32 :     (non0_2) shladd tabaddress[0] = component[0], 2, tabaddress[0]
33 :     (non0_3) shladd tabaddress[1] = component[1], 2, tabaddress[1]
34 :     ;;
35 :     (non0_2) ld4 sc[0] = [tabaddress[0]]
36 :     (non0_3) ld4 sc[1] = [tabaddress[1]]
37 :     mov component[0] = dx
38 :     mov component[1] = dy
39 :     cmp.ne non0_0, p0 = 0, dx
40 :     cmp.gt neg_0, p0 = 0, dx
41 :     .pred.rel "mutex", p30, p34 //non0_0, neg_0
42 :    
43 :     cmp.ne non0_1, p0 = 0, dy
44 :     cmp.gt neg_1, p0 = 0, dy
45 :     ;;
46 :     .pred.rel "mutex", p31, p35 //non0_1, neg_1
47 :    
48 :     (non0_2) add sc[0] = iFcode, sc[0]
49 :     (non0_3) add sc[1] = iFcode, sc[1]
50 :     ;;
51 :     (non0_2) add ret0 = ret0, sc[0]
52 :     (neg_0) sub component[0] = 0, component[0] //abs
53 :     (neg_1) sub component[1] = 0, component[1] //abs
54 :     ;;
55 :     (non0_3) add ret0 = ret0, sc[1]
56 :     add iSAD = mpr[0], mpr[4]
57 :     ;;
58 :    
59 :     .explicit
60 :     {.mii
61 :     setf.sig fmv = ret0
62 :     (non0_0) mov sc[0] = 1
63 :     (non0_1) mov sc[1] = 1
64 :     ;;
65 :     }
66 :     {.mfb
67 :     xmpy.l fmv = fmv, fQuant
68 :     }
69 :     {.mii
70 :     (non0_0) shl sc[0] = sc[0], iFcode
71 :     (non0_1) shl sc[1] = sc[1], iFcode
72 :     ;;
73 :     }
74 :    
75 :     .default
76 :    
77 :     (non0_0) add sc[0] = -1, sc[0]
78 :     (non0_1) add sc[1] = -1, sc[1]
79 :     ;;
80 :     (non0_0) add component[0] = component[0], sc[0]
81 :     (non0_1) add component[1] = component[1], sc[1]
82 :     ;;
83 :     (non0_0) shr component[0] = component[0], iFcode
84 :     (non0_1) shr component[1] = component[1], iFcode
85 :     ;;
86 :     (non0_0) cmp.lt cg32_0, p0 = 32, component[0]
87 :     (non0_1) cmp.lt cg32_1, p0 = 32, component[1]
88 :     ;;
89 :     (cg32_0) mov component[0] = 32
90 :     (cg32_1) mov component[1] = 32
91 :     ;;
92 :     (non0_0) addl tabaddress[0] = @gprel(mvtab#), gp
93 :     (non0_1) addl tabaddress[1] = @gprel(mvtab#), gp
94 :     ;;
95 :     (non0_0) shladd tabaddress[0] = component[0], 2, tabaddress[0]
96 :     (non0_1) shladd tabaddress[1] = component[1], 2, tabaddress[1]
97 :     getf.sig ret0 = fmv
98 :     ;;
99 :     (non0_0) ld4 sc[0] = [tabaddress[0]]
100 :     (non0_1) ld4 sc[1] = [tabaddress[1]]
101 :     add mpr[8] = mpr[8], ret0
102 :     ;;

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4