Lines Matching refs:bytes

31  * Copy s2 to s1, always copy n bytes.
125 andcc %o0, 7, %o5 ! bytes till DST 8 byte aligned
160 ldx [%o1-16], %o3 ! a block of 32 bytes
167 bgu,pt %ncc, .dbmedl32 ! repeat if at least 32 bytes left
171 ble,pt %ncc, .dbmedl15 ! skip if 15 or fewer bytes left
173 ldx [%o1-8], %o4 ! load and store 16 bytes
185 blt,pt %ncc, .dbremain ! skip if 7 or fewer bytes left
187 ldx [%o1-8], %o4 ! load 8 bytes
189 stx %o4, [%o0-8] ! and store 8 bytes
217 ldd [%o5-8], %d2 ! load 8 bytes
218 ldd [%o5-16], %d4 ! load 8 bytes
220 ldd [%o5+40], %d6 ! load 8 bytes
222 ldd [%o5+32], %d8 ! load 8 bytes
223 sub %o2, 64, %o2 ! 64 less bytes to copy
224 ldd [%o5+24], %d18 ! load 8 bytes
225 cmp %o2, 64 ! do we have < 64 bytes remaining
226 ldd [%o5+16], %d28 ! load 8 bytes
227 ldd [%o5+8], %d30 ! load 8 bytes
228 faligndata %d2, %d0, %d10 ! extract 8 bytes out
230 ldd [%o5], %d0 ! load 8 bytes
231 std %d10, [%o0+56] ! store the current 8 bytes
232 faligndata %d4, %d2, %d12 ! extract 8 bytes out
234 std %d12, [%o0+48] ! store the current 8 bytes
235 faligndata %d6, %d4, %d14 ! extract 8 bytes out
236 std %d14, [%o0+40] ! store the current 8 bytes
237 faligndata %d8, %d6, %d16 ! extract 8 bytes out
238 std %d16, [%o0+32] ! store the current 8 bytes
239 faligndata %d18, %d8, %d20 ! extract 8 bytes out
240 std %d20, [%o0+24] ! store the current 8 bytes
241 faligndata %d28, %d18, %d22 ! extract 8 bytes out
242 std %d22, [%o0+16] ! store the current 8 bytes
243 faligndata %d30, %d28, %d24 ! extract 8 bytes out
244 std %d24, [%o0+8] ! store the current 8 bytes
245 faligndata %d0, %d30, %d26 ! extract 8 bytes out
247 std %d26, [%o0] ! store the current 8 bytes
253 ldd [%o5-8], %d2 ! load 8 bytes
255 ldd [%o5-16], %d4 ! load 8 bytes
257 ldd [%o5+8], %d6 ! load 8 bytes
259 faligndata %d2, %d0, %d10 ! extract 8 bytes out
260 ldd [%o5], %d0 ! load 8 bytes
261 sub %o2,32, %o2 ! 32 less bytes to copy
262 std %d10, [%o0+24] ! store the current 8 bytes
263 cmp %o2, 32 ! do we have < 32 bytes remaining
264 faligndata %d4, %d2, %d12 ! extract 8 bytes out
265 std %d12, [%o0+16] ! store the current 8 bytes
266 faligndata %d6, %d4, %d14 ! extract 8 bytes out
267 std %d14, [%o0+8] ! store the current 8 bytes
268 faligndata %d0, %d6, %d16 ! extract 8 bytes out
270 std %d16, [%o0] ! store the current 8 bytes
272 cmp %o2, 8 ! do we have < 8 bytes remaining
279 sub %o2, 8, %o2 ! 8 less bytes to copy
281 cmp %o2, 8 ! do we have < 8 bytes remaining
282 faligndata %d2, %d0, %d8 ! extract 8 bytes out
283 std %d8, [%o0] ! store the current 8 bytes
334 ! force dest align on 2 bytes
344 ! force dest align on 4 bytes
371 bgu,pt %ncc, .small_half4 ! loop til 3 or fewer bytes remain
383 lduh [%o1-3], %o4 ! repeat for a total of 4 bytes
389 bgu,pt %ncc, .smallnotalign4 ! loop til 3 or fewer bytes remain
397 .smallleft3: ! 1, 2, or 3 bytes remain
443 cmp %o2, 4 ! check for 4 or more bytes left
478 ble,pn %ncc, .smlongx ! Make sure 16+ bytes remain
512 andcc %o5, 7, %o5 ! bytes till DST 8 byte aligned
585 lduw [%o1+4], %o3 ! a block of 16 bytes
594 bgu,pt %ncc, .medw16 ! repeat if at least 16 bytes left
601 blt,pn %ncc, .medw7 ! skip if 7 or fewer bytes left
603 lduw [%o1], %o4 ! load 4 bytes
607 lduw [%o1-4], %o3 ! load 4 bytes
611 stx %o3, [%o0-8] ! and store 4 bytes
613 cmp %o2, 3 ! check for 4 bytes left
614 ble,pn %ncc, .medw3 ! skip if 3 or fewer bytes left
616 ld [%o1], %o4 ! load 4 bytes
619 stw %o4, [%o0] ! and store 4 bytes
621 tst %o2 ! check for zero bytes left
642 * bytes.
667 ldx [%o1+8], %o3 ! a block of 32 bytes
674 bgu,pt %ncc, .medl32 ! repeat if at least 32 bytes left
678 ble,pt %ncc, .medl15 ! skip if 15 or fewer bytes left
680 ldx [%o1], %o4 ! load and store 16 bytes
692 blt,pt %ncc, .medw7 ! skip if 7 or fewer bytes left
694 ldx [%o1], %o4 ! load 8 bytes
696 stx %o4, [%o0] ! and store 8 bytes
711 and %o3, 7, %o3 ! bytes till SRC 8 byte aligned
713 sub %g0, %o3, %o3 ! -(bytes till SRC aligned after DST aligned)
729 ! Compute o5 (number of bytes that need copying using the main loop).
737 ! Examples: Let # denote bytes that should not be accessed
739 ! Let . and - denote bytes not yet copied
764 and %o5, BLOCK_SIZE-1, %o5 ! bytes till DST block aligned
820 ! The 8 bytes starting at [o1-8] are available in d0
824 bgu,pt %ncc, .large ! otherwise less than 16 bytes left
826 andcc %o3, 7, %o5 ! Number of bytes needed to completely
829 sub %o5, 8, %o3 ! -(number of good bytes in %d0)
831 bl,a,pt %ncc, 3f ! Not enough bytes to fill %d0
866 ! %o2 count (number of bytes to be moved)
882 ldx [%o1+8], %o3 ! a block of 64 bytes
884 ldx [%o1+16], %o4 ! a block of 64 bytes
886 ldx [%o1+24], %o3 ! a block of 64 bytes
888 ldx [%o1+32], %o4 ! a block of 64 bytes
890 ldx [%o1+40], %o3 ! a block of 64 bytes
897 bgu,pt %ncc, .largel64p ! repeat if at least 64 bytes left
905 ldx [%o1+8], %o3 ! a block of 64 bytes
907 ldx [%o1+16], %o4 ! a block of 64 bytes
909 ldx [%o1+24], %o3 ! a block of 64 bytes
911 ldx [%o1+32], %o4 ! a block of 64 bytes
913 ldx [%o1+40], %o3 ! a block of 64 bytes
920 bgu,pt %ncc, .largel64 ! repeat if at least 64 bytes left
929 ldx [%o1+8], %o3 ! a block of 32 bytes
939 ble,pt %ncc, .largel15 ! skip if 15 or fewer bytes left
941 ldx [%o1], %o4 ! load and store 16 bytes
953 blt,pt %ncc, .medw7 ! skip if 7 or fewer bytes left
955 ldx [%o1], %o4 ! load 8 bytes
959 stx %o4, [%o0] ! and store 8 bytes
969 ! %o2 I/O count (number of bytes that need to be written)
1004 ! Some bytes will be loaded that won't yet be written.
1046 std %f46, [%o0 + 56] ! store 64 bytes
1083 std %f46, [%o0 + 56] ! store 64 bytes
1093 ! %o2 count (number of bytes to be moved)
1127 stda %d0, [%o0]ASI_BLK_P ! store 64 bytes, bypass cache
1145 ! %o2 I/O count (number of bytes that need to be written)
1177 ! Some bytes will be loaded that won't yet be written.
1206 stda %f32, [%o0]ASI_BLK_P ! store 64 bytes, bypass cache