Lines Matching refs:copy

8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
54 * ! the leaf routine version depending on the size of the copy.
114 * For all of bcopy/copyin/copyout the copy logic is specialized according
123 * copy bytes; go to short_exit
129 * copy with ldx/stx in 4-way unrolled loop;
130 * copy final 0-31 bytes; go to short_exit
181 * Less then or equal this number of bytes we will always copy byte-for-byte
324 * All copy functions use three quadrants of fp registers; to assure a
395 /* membar #Sync - provided at copy completion */ ;\
427 cmp %o2, FP_COPY ! check for small copy/leaf case
495 and %o5, LOFAULT_SET, %l1 ! copy flag to %l1
552 restore %g0, 0, %o0 ! dispose of copy window
559 .asciz "Unable to restore fp state after copy operation"
612 cmp %o2, FP_COPY ! check for small copy/leaf case
1123 * profiling and dtrace of the portions of the copy code that uses
2074 blu %ncc, .bytecp ! just copy bytes
2100 * Copy that reach here have at least 2 blocks of data to copy.
2117 ! either 8 bytes, 4 bytes, 2 bytes or byte copy.
2321 ! Do fast copy using ASI_BLK_INIT_ST_QUAD_LDD_P
2600 call .alignit ! copy bytes until aligned
2614 cmp %i2, 4 ! see if we can copy a word
2638 ! byte copy, works with any alignment
2645 ! differenced byte copy, works with any alignment
2692 * Block copy with possibly overlapped operands.
2718 blu %ncc, .ov_bkwd ! if from < to, copy backwards
2845 * we need to do a HW block copy operation. This saves a window
2858 * If the value for a particular limit is zero, the copy will be done
2859 * via the copy loops rather than block store/quad load instructions.
2873 * always do a byte for byte copy.
2878 * alignment value we copy via block initializing store and quad
2883 * on in our basic copy loop in %o2. Following this we branch
2884 * to the appropriate copy loop and copy that many chunks.
2889 * chunk size left to be copied is and branch to that copy loop
2896 * Each copy operation has a simple fault handler that is then called
2933 * This allows us to share common code for all the flavors of the copy
3001 cmp %o2, FP_COPY ! check for small copy/leaf case
3005 * Small copy out code
3508 * End of small copy (no window) code
3512 * Long copy code
4448 ! Do full differenced copy.
4490 ! bounce to the byte for byte copy loop. Otherwise do it in
4504 ! this size copy.
4508 ! Is HW copy on? If not, do everything byte for byte.
4514 ! If we're less than or equal to the single byte copy limit,
4515 ! bop to the copy loop.
4520 ! We're big enough and copy is on. Do it with HW.
4532 ! If so, go off and do the copy.
4540 ! Bop off to the aligned copy.
4557 ! Housekeeping for copy loops. Uses same idea as in the byte for
4558 ! byte copy loop above.
4564 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy
4572 ! If so, go off an do the copy.
4580 ! Bop off to the aligned copy.
4600 srl %o2, 2, %o2 ! Number of 4 byte chunks to copy
4625 srl %o2, 1, %o2 ! Number of 2 byte chunks to copy
4630 ! and bounce back to a non-HW assisted copy. This dispatches those
4655 ! End of copy loop. Check to see if we're done. Most
4666 ! Four byte copy loop. %o2 is the number of 4 byte chunks to copy.
4676 ! End of copy loop. Check to see if we're done. Most
4687 ! two byte aligned copy loop. %o2 is the number of 2 byte chunks to
4688 ! copy.
4698 ! End of copy loop. Anything left?
4714 ! We're going to go off and do a block copy.
4740 ! either 8 bytes, 4 bytes, 2 bytes or byte copy.
4970 ! Do fast copy using ASI_BLK_INIT_ST_QUAD_LDD_P
5074 ! Copy the residue as byte copy
5194 cmp %o2, FP_COPY ! check for small copy/leaf case
5198 * Small copy in code
5701 * End of small copy in code (no window)
5706 * Long copy in code (using register window and fp regs)
6643 sub %g0, %o2, %o3 ! setup for copy loop
6676 ! bounce to the byte for byte copy loop. Otherwise do it in
6688 ! Is HW copy on? If not do everything byte for byte.
6700 ! We're big enough and copy is on. Do it with HW.
6716 ! Is HW assist on? If not, do it with the aligned copy.
6727 ! Housekeeping for copy loops. Uses same idea as in the byte for
6728 ! byte copy loop above.
6734 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy
6743 ! Is HW assist on? If not, do it with the aligned copy.
6757 ! Housekeeping for copy loops. Uses same idea as in the byte
6758 ! for byte copy loop above.
6764 srl %o2, 2, %o2 ! Number of 4 byte chunks to copy
6774 ! Is HW assist on? If not, do it with the aligned copy.
6790 ! Housekeeping for copy loops. Uses same idea as in the byte
6791 ! for byte copy loop above.
6798 srl %o2, 1, %o2 ! Number of 2 byte chunks to copy
6804 ! and bounce back to a non-hw assisted copy. This dispatches
6824 ! with modifications. %o2 is number of 8 byte chunks to copy. When
6826 ! to copy.
6836 ! End of copy loop. Most 8 byte aligned copies end here.
6846 ! 4 byte copy loop. %o2 is number of 4 byte chunks to copy.
6856 ! End of copy loop. Most 4 byte aligned copies end here.
6866 ! 2 byte aligned copy loop. %o2 is number of 2 byte chunks to
6867 ! copy.
6877 ! End of copy loop. Most 2 byte aligned copies end here.
6893 ! We're going off to do a block copy.
6919 ! either 8 bytes, 4 bytes, 2 bytes or byte copy.
7154 ! Do fast copy using ASI_BLK_INIT_ST_QUAD_LDD_P
7259 ! Copy the residue as byte copy