]> git.pld-linux.org Git - packages/SDL_gfx.git/blob - SDL_gfx-local-labels.patch
noarch apidocs
[packages/SDL_gfx.git] / SDL_gfx-local-labels.patch
1 --- SDL_gfx-2.0.21/SDL_imageFilter.c~   2010-06-17 00:20:49.914855745 +0200
2 +++ SDL_gfx-2.0.21/SDL_imageFilter.c    2010-06-17 00:28:27.684829066 +0200
3 @@ -4280,10 +4280,10 @@
4                         "mov          %2, %%edx \n\t"   /* initialize ROWS counter */
5                         "sub          $2, %%edx \n\t"   /* do not use first and last row */
6                         /* --- */
7 -                       ".L10320:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMS counter */
8 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMS counter */
9                         "sub          $2, %%ecx \n\t"   /* do not use first and last column */
10                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
11 -                       ".L10322:               \n\t"
12 +                       "2:               \n\t"
13                         /* --- */
14                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the image first row */
15                         "add       %%eax, %%esi \n\t"   /* move one row below */
16 @@ -4324,11 +4324,11 @@
17                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
18                         /* --- */
19                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
20 -                       "jnz            .L10322 \n\t"   /* check loop termination, proceed if required */
21 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
22                         "add          $2, %%esi \n\t"   /* move to the next row in Src */
23                         "add          $2, %%edi \n\t"   /* move to the next row in Dest */
24                         "dec              %%edx \n\t"   /* decrease loop counter ROWS */
25 -                       "jnz            .L10320 \n\t"   /* check loop termination, proceed if required */
26 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
27                         /* --- */
28                         "emms                   \n\t"   /* exit MMX state */
29                         "popa                   \n\t":"=m" (Dest)       /* %0 */
30 @@ -4523,10 +4523,10 @@
31                         "mov          %2, %%ebx \n\t"   /* initialize ROWS counter */
32                         "sub          $4, %%ebx \n\t"   /* do not use first 2 and last 2 rows */
33                         /* --- */
34 -                       ".L10330:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMNS counter */
35 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMNS counter */
36                         "sub          $4, %%ecx \n\t"   /* do not use first 2 and last 2 columns */
37                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
38 -                       ".L10332:               \n\t" "pxor      %%mm7, %%mm7 \n\t"     /* zero MM7 (accumulator) */
39 +                       "2:               \n\t" "pxor      %%mm7, %%mm7 \n\t"   /* zero MM7 (accumulator) */
40                         "movd      %%esi, %%mm6 \n\t"   /* save ESI in MM6 */
41                         /* --- 1 */
42                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the Src */
43 @@ -4626,11 +4626,11 @@
44                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
45                         /* --- */
46                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
47 -                       "jnz            .L10332 \n\t"   /* check loop termination, proceed if required */
48 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
49                         "add          $4, %%esi \n\t"   /* move to the next row in Src */
50                         "add          $4, %%edi \n\t"   /* move to the next row in Dest */
51                         "dec              %%ebx \n\t"   /* decrease loop counter ROWS */
52 -                       "jnz            .L10330 \n\t"   /* check loop termination, proceed if required */
53 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
54                         /* --- */
55                         "emms                   \n\t"   /* exit MMX state */
56                         "popa                   \n\t":"=m" (Dest)       /* %0 */
57 @@ -4851,10 +4851,10 @@
58                         "add       %%eax, %%edi \n\t" "add       %%eax, %%edi \n\t" "mov          %2, %%ebx \n\t"       /* initialize ROWS counter */
59                         "sub          $6, %%ebx \n\t"   /* do not use first 3 and last 3 rows */
60                         /* --- */
61 -                       ".L10340:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMNS counter */
62 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMNS counter */
63                         "sub          $6, %%ecx \n\t"   /* do not use first 3 and last 3 columns */
64                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
65 -                       ".L10342:               \n\t" "pxor      %%mm7, %%mm7 \n\t"     /* zero MM7 (accumulator) */
66 +                       "2:               \n\t" "pxor      %%mm7, %%mm7 \n\t"   /* zero MM7 (accumulator) */
67                         "movd      %%esi, %%mm6 \n\t"   /* save ESI in MM6 */
68                         /* --- 1 */
69                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the Src */
70 @@ -4982,11 +4982,11 @@
71                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
72                         /* --- */
73                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
74 -                       "jnz            .L10342 \n\t"   /* check loop termination, proceed if required */
75 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
76                         "add          $6, %%esi \n\t"   /* move to the next row in Src */
77                         "add          $6, %%edi \n\t"   /* move to the next row in Dest */
78                         "dec              %%ebx \n\t"   /* decrease loop counter ROWS */
79 -                       "jnz            .L10340 \n\t"   /* check loop termination, proceed if required */
80 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
81                         /* --- */
82                         "emms                   \n\t"   /* exit MMX state */
83                         "popa                   \n\t":"=m" (Dest)       /* %0 */
84 @@ -5307,10 +5307,10 @@
85                         "add       %%eax, %%edi \n\t" "add       %%eax, %%edi \n\t" "add       %%eax, %%edi \n\t" "mov          %2, %%ebx \n\t" /* initialize ROWS counter */
86                         "sub          $8, %%ebx \n\t"   /* do not use first 4 and last 4 rows */
87                         /* --- */
88 -                       ".L10350:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMNS counter */
89 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMNS counter */
90                         "sub          $8, %%ecx \n\t"   /* do not use first 4 and last 4 columns */
91                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
92 -                       ".L10352:               \n\t" "pxor      %%mm7, %%mm7 \n\t"     /* zero MM7 (accumulator) */
93 +                       "2:               \n\t" "pxor      %%mm7, %%mm7 \n\t"   /* zero MM7 (accumulator) */
94                         "movd      %%esi, %%mm6 \n\t"   /* save ESI in MM6 */
95                         /* --- 1 */
96                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the Src */
97 @@ -5529,11 +5529,11 @@
98                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
99                         /* --- */
100                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
101 -                       "jnz            .L10352 \n\t"   /* check loop termination, proceed if required */
102 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
103                         "add          $8, %%esi \n\t"   /* move to the next row in Src */
104                         "add          $8, %%edi \n\t"   /* move to the next row in Dest */
105                         "dec              %%ebx \n\t"   /* decrease loop counter ROWS */
106 -                       "jnz            .L10350 \n\t"   /* check loop termination, proceed if required */
107 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
108                         /* --- */
109                         "emms                   \n\t"   /* exit MMX state */
110                         "popa                   \n\t":"=m" (Dest)       /* %0 */
111 @@ -5669,10 +5669,10 @@
112                         "mov          %2, %%edx \n\t"   /* initialize ROWS counter */
113                         "sub          $2, %%edx \n\t"   /* do not use first and last row */
114                         /* --- */
115 -                       ".L10360:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMS counter */
116 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMS counter */
117                         "sub          $2, %%ecx \n\t"   /* do not use first and last column */
118                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
119 -                       ".L10362:               \n\t"
120 +                       "2:               \n\t"
121                         /* --- */
122                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the image first row */
123                         "add       %%eax, %%esi \n\t"   /* move one row below */
124 @@ -5705,11 +5705,11 @@
125                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
126                         /* --- */
127                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
128 -                       "jnz            .L10362 \n\t"   /* check loop termination, proceed if required */
129 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
130                         "add          $2, %%esi \n\t"   /* move to the next row in Src */
131                         "add          $2, %%edi \n\t"   /* move to the next row in Dest */
132                         "dec              %%edx \n\t"   /* decrease loop counter ROWS */
133 -                       "jnz            .L10360 \n\t"   /* check loop termination, proceed if required */
134 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
135                         /* --- */
136                         "emms                   \n\t"   /* exit MMX state */
137                         "popa                   \n\t":"=m" (Dest)       /* %0 */
138 @@ -5903,10 +5903,10 @@
139                         "mov          %2, %%ebx \n\t"   /* initialize ROWS counter */
140                         "sub          $4, %%ebx \n\t"   /* do not use first 2 and last 2 rows */
141                         /* --- */
142 -                       ".L10370:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMNS counter */
143 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMNS counter */
144                         "sub          $4, %%ecx \n\t"   /* do not use first 2 and last 2 columns */
145                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
146 -                       ".L10372:               \n\t" "pxor      %%mm7, %%mm7 \n\t"     /* zero MM7 (accumulator) */
147 +                       "2:               \n\t" "pxor      %%mm7, %%mm7 \n\t"   /* zero MM7 (accumulator) */
148                         "movd      %%esi, %%mm6 \n\t"   /* save ESI in MM6 */
149                         /* --- 1 */
150                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the Src */
151 @@ -6005,11 +6005,11 @@
152                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
153                         /* --- */
154                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
155 -                       "jnz            .L10372 \n\t"   /* check loop termination, proceed if required */
156 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
157                         "add          $4, %%esi \n\t"   /* move to the next row in Src */
158                         "add          $4, %%edi \n\t"   /* move to the next row in Dest */
159                         "dec              %%ebx \n\t"   /* decrease loop counter ROWS */
160 -                       "jnz            .L10370 \n\t"   /* check loop termination, proceed if required */
161 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
162                         /* --- */
163                         "emms                   \n\t"   /* exit MMX state */
164                         "popa                   \n\t":"=m" (Dest)       /* %0 */
165 @@ -6233,10 +6233,10 @@
166                         "add       %%eax, %%edi \n\t" "add       %%eax, %%edi \n\t" "mov          %2, %%ebx \n\t"       /* initialize ROWS counter */
167                         "sub          $6, %%ebx \n\t"   /* do not use first 3 and last 3 rows */
168                         /* --- */
169 -                       ".L10380:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMNS counter */
170 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMNS counter */
171                         "sub          $6, %%ecx \n\t"   /* do not use first 3 and last 3 columns */
172                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
173 -                       ".L10382:               \n\t" "pxor      %%mm7, %%mm7 \n\t"     /* zero MM7 (accumulator) */
174 +                       "2:               \n\t" "pxor      %%mm7, %%mm7 \n\t"   /* zero MM7 (accumulator) */
175                         "movd      %%esi, %%mm6 \n\t"   /* save ESI in MM6 */
176                         /* --- 1 */
177                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the Src */
178 @@ -6367,11 +6367,11 @@
179                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
180                         /* --- */
181                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
182 -                       "jnz            .L10382 \n\t"   /* check loop termination, proceed if required */
183 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
184                         "add          $6, %%esi \n\t"   /* move to the next row in Src */
185                         "add          $6, %%edi \n\t"   /* move to the next row in Dest */
186                         "dec              %%ebx \n\t"   /* decrease loop counter ROWS */
187 -                       "jnz            .L10380 \n\t"   /* check loop termination, proceed if required */
188 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
189                         /* --- */
190                         "emms                   \n\t"   /* exit MMX state */
191                         "popa                   \n\t":"=m" (Dest)       /* %0 */
192 @@ -6708,10 +6708,10 @@
193                         "add       %%eax, %%edi \n\t" "add       %%eax, %%edi \n\t" "add       %%eax, %%edi \n\t" "mov          %2, %%ebx \n\t" /* initialize ROWS counter */
194                         "sub          $8, %%ebx \n\t"   /* do not use first 4 and last 4 rows */
195                         /* --- */
196 -                       ".L10390:               \n\t" "mov       %%eax, %%ecx \n\t"     /* initialize COLUMNS counter */
197 +                       "1:               \n\t" "mov       %%eax, %%ecx \n\t"   /* initialize COLUMNS counter */
198                         "sub          $8, %%ecx \n\t"   /* do not use first 4 and last 4 columns */
199                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
200 -                       ".L10392:               \n\t" "pxor      %%mm7, %%mm7 \n\t"     /* zero MM7 (accumulator) */
201 +                       "2:               \n\t" "pxor      %%mm7, %%mm7 \n\t"   /* zero MM7 (accumulator) */
202                         "movd      %%esi, %%mm6 \n\t"   /* save ESI in MM6 */
203                         /* --- 1 */
204                         "movq    (%%esi), %%mm1 \n\t"   /* load 8 bytes of the Src */
205 @@ -6946,11 +6946,11 @@
206                         "inc              %%edi \n\t"   /* move Dest pointer to the next pixel */
207                         /* --- */
208                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
209 -                       "jnz            .L10392 \n\t"   /* check loop termination, proceed if required */
210 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
211                         "add          $8, %%esi \n\t"   /* move to the next row in Src */
212                         "add          $8, %%edi \n\t"   /* move to the next row in Dest */
213                         "dec              %%ebx \n\t"   /* decrease loop counter ROWS */
214 -                       "jnz            .L10390 \n\t"   /* check loop termination, proceed if required */
215 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
216                         /* --- */
217                         "emms                   \n\t"   /* exit MMX state */
218                         "popa                   \n\t":"=m" (Dest)       /* %0 */
219 @@ -7116,12 +7116,12 @@
220                         "mov          %2, %%edx \n\t"   /* initialize ROWS counter */
221                         "sub          $2, %%edx \n\t"   /* do not use first and last rows */
222                         /* --- */
223 -                       ".L10400:                \n\t" "mov       %%eax, %%ecx \n\t"    /* initialize COLUMS counter */
224 +                       "1:                \n\t" "mov       %%eax, %%ecx \n\t"  /* initialize COLUMS counter */
225                         "shr          $3, %%ecx \n\t"   /* EBX/8 (MMX loads 8 bytes at a time) */
226                         "mov       %%esi, %%ebx \n\t"   /* save ESI in EBX */
227                         "movd      %%edi, %%mm1 \n\t"   /* save EDI in MM1 */
228                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
229 -                       ".L10402:               \n\t"
230 +                       "2:               \n\t"
231                         /* --- */
232                         "movq    (%%esi), %%mm4 \n\t"   /* load 8 bytes from Src */
233                         "movq      %%mm4, %%mm5 \n\t"   /* save MM4 in MM5 */
234 @@ -7199,13 +7199,13 @@
235                         "add $8,          %%edi \n\t"   /* move Dest pointer to the next 8 pixels */
236                         /* --- */
237                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
238 -                       "jnz            .L10402 \n\t"   /* check loop termination, proceed if required */
239 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
240                         "mov       %%ebx, %%esi \n\t"   /* restore most left current row Src  address */
241                         "movd      %%mm1, %%edi \n\t"   /* restore most left current row Dest address */
242                         "add       %%eax, %%esi \n\t"   /* move to the next row in Src */
243                         "add       %%eax, %%edi \n\t"   /* move to the next row in Dest */
244                         "dec              %%edx \n\t"   /* decrease loop counter ROWS */
245 -                       "jnz            .L10400 \n\t"   /* check loop termination, proceed if required */
246 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
247                         /* --- */
248                         "emms                   \n\t"   /* exit MMX state */
249                         "popa                   \n\t":"=m" (Dest)       /* %0 */
250 @@ -7386,12 +7386,12 @@
251                         /* initialize ROWS counter */
252                         "subl            $2, %2 \n\t"   /* do not use first and last rows */
253                         /* --- */
254 -                       ".L10410:                \n\t" "mov       %%eax, %%ecx \n\t"    /* initialize COLUMS counter */
255 +                       "1:                \n\t" "mov       %%eax, %%ecx \n\t"  /* initialize COLUMS counter */
256                         "shr          $3, %%ecx \n\t"   /* EBX/8 (MMX loads 8 bytes at a time) */
257                         "mov       %%esi, %%ebx \n\t"   /* save ESI in EBX */
258                         "mov       %%edi, %%edx \n\t"   /* save EDI in EDX */
259                         ".align 16              \n\t"   /* 16 byte alignment of the loop entry */
260 -                       ".L10412:               \n\t"
261 +                       "2:               \n\t"
262                         /* --- */
263                         "movq    (%%esi), %%mm4 \n\t"   /* load 8 bytes from Src */
264                         "movq      %%mm4, %%mm5 \n\t"   /* save MM4 in MM5 */
265 @@ -7481,13 +7481,13 @@
266                         "add $8,          %%edi \n\t"   /* move Dest pointer to the next 8 pixels */
267                         /* --- */
268                         "dec              %%ecx \n\t"   /* decrease loop counter COLUMNS */
269 -                       "jnz            .L10412 \n\t"   /* check loop termination, proceed if required */
270 +                       "jnz            2b \n\t"        /* check loop termination, proceed if required */
271                         "mov       %%ebx, %%esi \n\t"   /* restore most left current row Src  address */
272                         "mov       %%edx, %%edi \n\t"   /* restore most left current row Dest address */
273                         "add       %%eax, %%esi \n\t"   /* move to the next row in Src */
274                         "add       %%eax, %%edi \n\t"   /* move to the next row in Dest */
275                         "decl                %2 \n\t"   /* decrease loop counter ROWS */
276 -                       "jnz            .L10410 \n\t"   /* check loop termination, proceed if required */
277 +                       "jnz            1b \n\t"        /* check loop termination, proceed if required */
278                         /* --- */
279                         "emms                   \n\t"   /* exit MMX state */
280                         "popa                   \n\t":"=m" (Dest)       /* %0 */
This page took 0.166014 seconds and 4 git commands to generate.