Lines Matching +full:many +full:- +full:to +full:- +full:many
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2017 Andes Technology Corporation
12 ret: $r0 - pointer to the memory area dst.
21 srli $p1, $r2, #2 ! $p1 is how many words to copy
29 andi $r2, $r2, #3 ! How many bytes are less than a word
35 addi $p1, $p1, #-1 ! How many words left to copy
36 smw.bim $p0, [$r0], $p0 ! Copy the word to det
38 beqz $r2, end_memcpy ! No left bytes to copy
44 andi $r2, $r2, #3 ! How many bytes are less than a word
45 li $t0, #-1 ! Determining copy direction in byte_cpy
50 addi $p1, $p1, #-1 ! How many words left to copy
51 smw.adm $p0, [$r0], $p0 ! Copy the word to det
53 beqz $r2, end_memcpy ! No left bytes to copy
56 addi $r0, $r0, #-1
57 addi $r1, $r1, #-1
58 byte_cpy: ! Less than 4 bytes to copy now
60 addi $r2, $r2, #-1 ! How many bytes left to copy
61 sb.bi $p0, [$r0], $t0 ! copy the byte to det