Lines Matching refs:src

8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
88 * if src & dst aligned on word boundary but not long word boundary,
90 * if src & dst aligned on long word boundary
92 * if src & dst not aligned and length <= 14
94 * move enough bytes to get src to word boundary
108 * if( src is on long word boundary ) {
110 * finish_long: src/dst aligned on 8 bytes
113 * } else { src/dst aligned; count > 512
115 * src alignments relative to a 64 byte boundary to select the
120 * } else { src/dst not aligned on 8 bytes
121 * if src is word aligned and count < 512
131 * src alignments to nearest long word relative to 64 byte boundary to
134 * (only use block-init-store when src/dst on 8 byte boundaries.)
240 andcc %o5, 7, %o0 ! %o0 has src offset
241 bz,a,pn %ncc, .dbcopybc ! if src is aligned to fast mem move
244 .cpy_dbwdbc: ! alignment of src is needed
249 sub %o5, %o0, %o5 ! align the src at 8 bytes.
250 add %o4, %o0, %o4 ! increase difference between src & dst
253 1: sub %o5, 8, %o5 ! subtract 8 from src
263 add %o5, %o0, %o5 ! restore src alignment
264 sub %o4, %o0, %o4 ! restore difference between src & dest
269 .dbcopybc: ! alignment of src is not needed
270 1: sub %o5, 8, %o5 ! subtract from src
345 add %o1, 8, %o1 ! increment src ptr
419 add %o1, 128, %o1 ! increment src
464 add %o1, 128, %o1 ! increment src
511 add %o1, 128, %o1 ! increment src
559 add %o1, 128, %o1 ! increment src
610 add %o1, 128, %o1 ! increment src
663 add %o1, 128, %o1 ! increment src
718 add %o1, 128, %o1 ! increment src
755 add %o1, 128, %o1 ! increment src
783 andcc %o1, 0x3, %o5 ! is src word aligned
785 cmp %o5, 2 ! is src half-word aligned
787 cmp %o5, 3 ! src is byte aligned
790 stb %o3, [%o0] ! move a byte to align src
797 .s2algn:lduh [%o1], %o3 ! know src is 2 byte aligned
818 dec 4, %o3 ! avoid reading beyond tail of src
839 dec 4, %o3 ! avoid reading beyond tail of src
862 dec 4, %o3 ! avoid reading beyond tail of src
960 ! 8 or more bytes, src and dest start on word boundary
961 ! %o4 contains or %o0, %o1; %o3 contains first four bytes of src
992 ! src and dest start on word boundary
1041 * Special case for handling when src and dest are both long word aligned
1061 add %o1, 64, %o1 ! increase src ptr by 64
1077 add %o1, 32, %o1 ! increase src ptr by 32
1089 add %o1, 16, %o1 ! increase src ptr by 16
1102 add %o1, 8, %o1 ! increase src ptr by 8
1112 ! DST is 8-byte aligned, src is not
1119 * Handle all cases where src and dest are aligned on word
1146 add %o1, 32, %o1 ! increase src ptr by 32
1166 add %o1, 16, %o1 ! increase src ptr by 16
1181 add %o1, 8, %o1 ! increase src ptr by 8
1191 add %o1, 4, %o1 ! increase src ptr by 4
1216 add %o1, 8, %o1 ! increment src ptr
1226 add %o1, 16, %o1 ! increment src ptr
1241 add %o1, 32, %o1 ! increment src ptr
1314 add %o1, 128, %o1 ! increment src
1361 add %o1, 128, %o1 ! increment src
1410 add %o1, 128, %o1 ! increment src
1460 add %o1, 128, %o1 ! increment src
1513 add %o1, 128, %o1 ! increment src
1568 add %o1, 128, %o1 ! increment src
1625 add %o1, 128, %o1 ! increment src
1664 add %o1, 128, %o1 ! increment src
1681 ! Dst is on 8 byte boundary; src is not; remaining count > SMALL_MAX
1699 andn %o1, 0x7, %o4 ! %o4 has long word aligned src address
1757 add %o1, 8, %o1 ! increase src ptr by 8
1812 andn %o1, 0x3f, %o4 ! %o4 has block aligned src address
2082 sub %o5, 8, %o5 ! insure we don't load past end of src
2083 andn %o1, 0x7, %o4 ! %o4 has long word aligned src address
2118 cmp %o3, 0x40 ! if src - dst >= 0x40
2121 andcc %o1, 3, %o5 ! is src word aligned
2123 cmp %o5, 2 ! is src half-word aligned
2125 cmp %o5, 3 ! src is byte aligned
2128 stb %o3, [%g5] ! move a byte to align src
2135 .s2algn:lduh [%o1], %o3 ! know src is 2 byte alinged
2156 dec 4, %o3 ! avoid reading beyond tail of src
2177 dec 4, %o3 ! avoid reading beyond tail of src
2200 dec 4, %o3 ! avoid reading beyond tail of src
2255 ! Is dst & src 8B aligned
2261 ! Is dst & src 4B aligned
2266 ! Is dst & src 2B aligned
2282 ! dst & src 4B aligned
2294 ! dst & src 2B aligned
2306 ! dst & src 8B aligned
2320 andcc %i1, 0xf, %l1 ! is src quadword aligned
2321 bz,pn %ncc, .blkcpy ! src offset in %l1
2332 sub %i1, %l1, %i1 ! align the src at 16 bytes.
2361 add %i1, %l1, %i1 ! increment the source by src offset
2364 sub %i1, %l1, %i1 ! align the src at 16 bytes.
2403 add %i1, %l1, %i1 ! increment the source by src offset
2406 sub %i1, %l1, %i1 ! align the src at 16 bytes.
2448 add %i1, %l1, %i1 ! increment the source by src offset