1 ; Port on Texas Instruments TMS320C6x architecture
3 ; Copyright (C) 2006, 2009, 2010 Texas Instruments Incorporated
4 ; Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
6 ; This program is free software; you can redistribute it and/or modify
7 ; it under the terms of the GNU General Public License version 2 as
8 ; published by the Free Software Foundation.
11 #include <linux/linkage.h>
22 [A0] LDB .D2T1 *B4++,A5
23 [A1] LDB .D2T1 *B4++,A7
24 [A1] LDB .D2T1 *B4++,A8
25 [B0] LDNW .D2T1 *B4++,A9
26 || SHRU .S2X A6,0x3,B1
29 [A0] STB .D1T1 A5,*A3++
31 [A1] STB .D1T1 A7,*A3++
32 [A1] STB .D1T1 A8,*A3++
33 [B0] STNW .D1T1 A9,*A3++ ; return when len < 8
37 LDNDW .D2T1 *B4++,A9:A8
42 || STNDW .D1T1 A9:A8,*A3++