2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <asm/linkage.h>
11 #define SMALL 7 /* Must be at least 6 to deal with alignment/loop issues. */
33 .Laligned: ; This code address should be aligned for speed.
51 ; memzero: @r0 = mem, @r1 = size_t
52 ; memset: @r0 = mem, @r1 = char, @r2 = size_t
55 ; adjust bzero args to memset args
58 b memset ;tail call so need to tinker with blink