Lines Matching +full:left +full:- +full:aligned
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/alpha/lib/ev6-memcpy.S
4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com>
8 * - memory accessed as aligned quadwords only
9 * - uses bcmpge to compare 8 bytes in parallel
14 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
16 * E - either cluster
17 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
18 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
21 * $1,$2, - scratch
39 bne $1, $misaligned # U : Nope - gotta do this the slow way
53 subq $18, 1, $18 # E : count--
69 subq $18, 8, $18 # E : count -= 8
76 bne $1, $single_head_quad # U : still not fully aligned
86 # ($7) are about to be over-written
118 cmovlt $2, $1, $7 # E : Latency 2, extra map slot - Use
125 subq $18, 64, $18 # E : count -= 64
128 stq $6, -32($16) # L : bytes 0..7
129 stq $4, -24($16) # L : bytes 8..15
132 stq $5, -16($16) # L : bytes 16..23
133 stq $3, -8($16) # L : bytes 24..31
140 subq $18, 8, $18 # E : At least a quad left?
147 subq $18, 8, $18 # E : count -= 8
159 ble $18, $nomoredata # U : All-done
165 subq $18, 1, $18 # E : count--
190 subq $18, 1, $18 # E : count--
196 bne $1, $aligndest # U : go until we are aligned.
200 subq $18, 8, $18 # E : At least a quad left?
211 subq $18, 8, $18 # E : count -= 8
213 stq $1, 0($4) # L : store 8 (aligned)
229 subq $18, 1, $18 # E : count--