Lines Matching +full:3 +full:- +full:d
1 /* SPDX-License-Identifier: GPL-2.0 */
22 * would be faster. I suspect not for simple text system - not much
30 * Unaligned read/write used requires 68020+ - think this is a problem?
55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small()
56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small()
57 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memclear_small()
58 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memclear_small()
60 : "=a" (s), "=d" (count) in fb_memclear_small()
61 : "d" (0), "0" ((char *)s + count), "1" (count)); in fb_memclear_small()
64 " jcs 3f\n" in fb_memclear_small()
66 "2: movem.l %2/%%d4/%%d5/%%d6,-(%0)\n" in fb_memclear_small()
68 "3:" in fb_memclear_small()
69 : "=a" (s), "=d" (count) in fb_memclear_small()
70 : "d" (0), "0" (s), "1" (count) in fb_memclear_small()
90 : "=a" (s), "=d" (count) in fb_memclear()
102 " lsr.l #1,%1 ; jcc 3f ; clr.l (%0)+\n" in fb_memclear()
103 "3: lsr.l #1,%1 ; jcc 4f ; clr.l (%0)+ ; clr.l (%0)+\n" in fb_memclear()
110 : "=a" (s), "=d" (count), "=d" (tmp) in fb_memclear()
124 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memset255()
125 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memset255()
126 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memset255()
127 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memset255()
129 : "=a" (s), "=d" (count) in fb_memset255()
130 : "d" (-1), "0" ((char *)s+count), "1" (count)); in fb_memset255()
132 " subq.l #1,%1 ; jcs 3f\n" in fb_memset255()
134 "2: movem.l %2/%%d4/%%d5/%%d6,-(%0)\n" in fb_memset255()
136 "3:" in fb_memset255()
137 : "=a" (s), "=d" (count) in fb_memset255()
138 : "d" (-1), "0" (s), "1" (count) in fb_memset255()
145 static inline void *fb_memmove(void *d, const void *s, size_t count) in fb_memmove() argument
147 if (d < s) { in fb_memmove()
155 : "=a" (d), "=a" (s), "=d" (count) in fb_memmove()
156 : "0" (d), "1" (s), "2" (count)); in fb_memmove()
160 " move.l %0,%3\n" in fb_memmove()
161 " lsr.l #1,%3 ; jcc 1f ; move.b (%1)+,(%0)+ ; subqw #1,%2\n" in fb_memmove()
162 " lsr.l #1,%3 ; jcs 2f\n" /* %0 increased=>bit 2 switched*/ in fb_memmove()
164 "1: lsr.l #1,%3 ; jcc 2f\n" in fb_memmove()
166 "2: move.w %2,%-; lsr.l #2,%2 ; jeq 6f\n" in fb_memmove()
167 " lsr.l #1,%2 ; jcc 3f ; move.l (%1)+,(%0)+\n" in fb_memmove()
168 "3: lsr.l #1,%2 ; jcc 4f ; move.l (%1)+,(%0)+ ; move.l (%1)+,(%0)+\n" in fb_memmove()
176 : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) in fb_memmove()
177 : "0" (d), "1" (s), "2" (count)); in fb_memmove()
182 " lsr.l #1,%2 ; jcc 1f ; move.b -(%1),-(%0)\n" in fb_memmove()
183 "1: lsr.l #1,%2 ; jcc 1f ; move.w -(%1),-(%0)\n" in fb_memmove()
184 "1: lsr.l #1,%2 ; jcc 1f ; move.l -(%1),-(%0)\n" in fb_memmove()
185 "1: lsr.l #1,%2 ; jcc 1f ; move.l -(%1),-(%0) ; move.l -(%1),-(%0)\n" in fb_memmove()
187 : "=a" (d), "=a" (s), "=d" (count) in fb_memmove()
188 : "0" ((char *) d + count), "1" ((char *) s + count), "2" (count)); in fb_memmove()
193 " move.l %0,%3\n" in fb_memmove()
194 " lsr.l #1,%3 ; jcc 1f ; move.b -(%1),-(%0) ; subqw #1,%2\n" in fb_memmove()
195 " lsr.l #1,%3 ; jcs 2f\n" /* %0 increased=>bit 2 switched*/ in fb_memmove()
196 " move.w -(%1),-(%0) ; subqw #2,%2 ; jra 2f\n" in fb_memmove()
197 "1: lsr.l #1,%3 ; jcc 2f\n" in fb_memmove()
198 " move.w -(%1),-(%0) ; subqw #2,%2\n" in fb_memmove()
199 "2: move.w %2,%-; lsr.l #2,%2 ; jeq 6f\n" in fb_memmove()
200 " lsr.l #1,%2 ; jcc 3f ; move.l -(%1),-(%0)\n" in fb_memmove()
201 "3: lsr.l #1,%2 ; jcc 4f ; move.l -(%1),-(%0) ; move.l -(%1),-(%0)\n" in fb_memmove()
203 "5: move.l -(%1),-(%0); move.l -(%1),-(%0)\n" in fb_memmove()
204 " move.l -(%1),-(%0); move.l -(%1),-(%0)\n" in fb_memmove()
206 "6: move.w %+,%2; btst #1,%2 ; jeq 7f ; move.w -(%1),-(%0)\n" in fb_memmove()
207 "7: btst #0,%2 ; jeq 8f ; move.b -(%1),-(%0)\n" in fb_memmove()
209 : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) in fb_memmove()
210 : "0" ((char *) d + count), "1" ((char *) s + count), "2" (count)); in fb_memmove()
232 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove()
233 : "0" (src), "1" (dst), "2" (size / 16 - 1) in fast_memmove()
239 " movem.l %%d0/%%d1/%%a0/%%a1,-(%1)\n" in fast_memmove()
243 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove()
244 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1) in fast_memmove()
333 m[0] = two2word[c & 3]; in expand16_col2mask()
335 m[1] = two2word[(c >> 2) & 3]; in expand16_col2mask()
338 m[2] = two2word[(c >> 4) & 3]; in expand16_col2mask()
339 m[3] = two2word[c >> 6]; in expand16_col2mask()
345 bgm[0] = two2word[bg & 3]; in expand16_2col2mask()
346 fgm[0] = two2word[fg & 3] ^ bgm[0]; in expand16_2col2mask()
348 bgm[1] = two2word[(bg >> 2) & 3]; in expand16_2col2mask()
349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1]; in expand16_2col2mask()
352 bgm[2] = two2word[(bg >> 4) & 3]; in expand16_2col2mask()
353 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2]; in expand16_2col2mask()
354 bgm[3] = two2word[bg >> 6]; in expand16_2col2mask()
355 fgm[3] = two2word[fg >> 6] ^ bgm[3]; in expand16_2col2mask()
368 *dst++ = m[3]; in fill16_col()
370 rows--; in fill16_col()
377 u32 *s, *d, v; in memmove32_col() local
380 d = dst; in memmove32_col()
382 v = (*s++ & mask) | (*d & ~mask); in memmove32_col()
383 *d++ = v; in memmove32_col()
385 v = (*s++ & mask) | (*d & ~mask); in memmove32_col()
386 *d++ = v; in memmove32_col()
389 v = (*s++ & mask) | (*d & ~mask); in memmove32_col()
390 *d++ = v; in memmove32_col()
391 v = (*s++ & mask) | (*d & ~mask); in memmove32_col()
392 *d++ = v; in memmove32_col()
394 d = (u32 *)((u8 *)d + bytes); in memmove32_col()
396 } while (--h); in memmove32_col()