1 ; SPDX-License-Identifier: GPL-2.0-only
2 ; Port on Texas Instruments TMS320C6x architecture
4 ; Copyright (C) 2006, 2009, 2010 Texas Instruments Incorporated
5 ; Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
8 #include <linux/linkage.h>
19 [A0] LDB .D2T1 *B4++,A5
20 [A1] LDB .D2T1 *B4++,A7
21 [A1] LDB .D2T1 *B4++,A8
22 [B0] LDNW .D2T1 *B4++,A9
23 || SHRU .S2X A6,0x3,B1
26 [A0] STB .D1T1 A5,*A3++
28 [A1] STB .D1T1 A7,*A3++
29 [A1] STB .D1T1 A8,*A3++
30 [B0] STNW .D1T1 A9,*A3++ ; return when len < 8
34 LDNDW .D2T1 *B4++,A9:A8
39 || STNDW .D1T1 A9:A8,*A3++