memmove.S (3eb66e91a25497065c5322b1268cbc3953642227) | memmove.S (3dfc242f11d792535db774613c6fd1df565c2137) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 3 4#include <linux/linkage.h> 5#include "sysdep.h" 6 7 .weak memmove 8ENTRY(__memmove) --- 21 unchanged lines hidden (view full) --- 30 bez r18, .L_len_less_16bytes 31 movi r19, 0 32 33 /* len > 16 bytes */ 34 LABLE_ALIGN 35.L_len_larger_16bytes: 36 subi r1, 16 37 subi r0, 16 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 3 4#include <linux/linkage.h> 5#include "sysdep.h" 6 7 .weak memmove 8ENTRY(__memmove) --- 21 unchanged lines hidden (view full) --- 30 bez r18, .L_len_less_16bytes 31 movi r19, 0 32 33 /* len > 16 bytes */ 34 LABLE_ALIGN 35.L_len_larger_16bytes: 36 subi r1, 16 37 subi r0, 16 |
38#if defined(__CSKY_VDSPV2__) 39 vldx.8 vr0, (r1), r19 40 PRE_BNEZAD (r18) 41 vstx.8 vr0, (r0), r19 42#elif defined(__CK860__) | 38#if defined(__CK860__) |
43 ldw r3, (r1, 12) 44 stw r3, (r0, 12) 45 ldw r3, (r1, 8) 46 stw r3, (r0, 8) 47 ldw r3, (r1, 4) 48 stw r3, (r0, 4) 49 ldw r3, (r1, 0) 50 stw r3, (r0, 0) --- 58 unchanged lines hidden --- | 39 ldw r3, (r1, 12) 40 stw r3, (r0, 12) 41 ldw r3, (r1, 8) 42 stw r3, (r0, 8) 43 ldw r3, (r1, 4) 44 stw r3, (r0, 4) 45 ldw r3, (r1, 0) 46 stw r3, (r0, 0) --- 58 unchanged lines hidden --- |