Lines Matching refs:bytes
31 * Copy s2 to s1, always copy n bytes.
108 andcc %g1, 7, %o3 ! %o3 has bytes till dst 8 bytes aligned
110 andn %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
118 andncc %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
125 sub %o2, %o3, %o2 ! Residue bytes in %o2
132 sub %o5, %o0, %o5 ! align the src at 8 bytes.
134 ldx [%o5], %o1 ! load first 8 bytes
138 sllx %o0, %g1, %o3 ! shift loaded 8 bytes left into tmp reg
154 ldx [%o5], %g1 ! load 8 bytes
157 stx %g1, [%o5+%o4] ! store 8 bytes to destination
195 !! 4-64 bytes, alignment unknown
196 .small_unal: ! copy 4 bytes
207 bgu,pt %icc, .small_unal ! at least 4 bytes?
210 .smallest: ! 0-3 bytes
212 be,pt %icc, .sm_exit ! 0 bytes?
214 .small_3x: ! 1-3 bytes
217 be,pt %icc, .sm_exit ! 0 bytes?
221 be,pt %icc, .sm_exit ! 0 bytes?
228 .sm_aln4_8: ! copy 2 words (8 bytes)
230 .sm_aln4_8_entry: ! 8-64 bytes, copy 8 bytes
236 bgu,pt %icc, .sm_aln4_8 ! at least 8 bytes?
239 be,pt %icc, .sm_exit ! 0 bytes?
242 bl .small_3x ! 1-3 bytes?
249 bne,pt %icc, .small_3x ! 1-3 bytes?
255 .small_aln4: ! 4-64 bytes
257 bgu,pt %icc, .sm_aln4_8_entry ! TRICKY: jump if size > 7 bytes
260 be,pt %icc, .sm_exit ! 0 bytes?
264 be,pt %icc, .sm_exit ! 0 bytes?
268 be,pt %icc, .sm_exit ! 0 bytes?
336 .med_aln4_16: ! copy 16 bytes
349 bgu,pt %icc, .med_aln4_16 ! at least 16 bytes?
352 .med_aln4_15: ! 0-15 bytes
354 be,pt %icc, .exit ! 0 bytes?
357 bl,pt %icc, .med_7 ! 1-7 bytes?
366 be,pt %icc, .exit ! 0 bytes?
369 .med_7: ! 1-7 bytes
371 ble,pt %icc, .med_3 ! 1-3 bytes?
379 be,pt %icc, .exit ! 0 bytes?
382 .med_3: ! 1-3 bytes
385 be,pt %icc, .exit ! 0 bytes?
389 be,pt %icc, .exit ! 0 bytes?
419 .med_aln8_32: ! copy 32 bytes
432 bgu,pt %icc, .med_aln8_32 ! at least 32 bytes?
435 .med_aln8_31: ! 0-31 bytes
437 ble,pt %icc, .med_aln8_15 ! 0-15 bytes?
447 .med_aln8_15: ! 0-15 bytes
449 be,pt %icc, .exit ! 0 bytes?
452 bl,pt %icc, .med_7 ! 1-7 bytes?
458 be,pt %icc, .exit ! 0 bytes?
460 ba .med_7 ! 1-7 bytes
512 kernel_loop: ! copy 128 bytes
544 bgu,pt %icc, kernel_loop ! more than 128 bytes?
547 epilogue: ! copy 512 bytes
696 ! %o5 = number of bytes to copy in .not8_medium
699 ! size >= 256: bytes to block align
708 ! Examples: Let # denote bytes that should not be accessed
710 ! Let . and - denote bytes not yet copied
760 be,pn %icc, 1f ! align and store last 8 bytes in %o5?
763 .not8_med_16: ! copy 16 bytes
769 be,pn %icc, 2f ! store last 8 bytes in %o5?
774 bne,pt %icc, .not8_med_16 ! at least 16 bytes?
790 ! 8 bytes starting at [%o1-8] are available in %f0
795 ! otherwise 1-15 bytes left
798 be,pt %icc, 2f ! 8 bytes left in %f0?
801 bl,a,pt %icc, 3f ! store 1-7 bytes?
804 ! at least 8 bytes but need to prep %f0
812 2: ! store 8 bytes
815 be,pt %icc, .not8_exit ! 0 bytes?
818 3: ! 1-7 bytes
842 !! We just copy 64-byte aligned blocks of 64 bytes.
874 ! Some bytes will be loaded that won't yet be written.