2 * Copyright (C) 2004-2006 Atmel Corporation
4 * Based on linux/arch/arm/lib/memset.S
5 * Copyright (C) 1995-2000 Russell King
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * ASM optimised string functions
24 .type memset, @function
33 2: or r11, r11, r11 << 16
37 /* Let's do some real work */
43 * When we get here, we've got less than 4 bytes to set. r10
49 /* Fastpath ends here, exactly 32 bytes from memset */
51 /* Handle unaligned count or pointer */
61 /* Handle unaligned pointer */
72 .size memset, . - memset