2 * ====================================================
3 * Copyright (C) 1998, 2002, 2008 by Red Hat Inc. All rights reserved.
5 * Permission to use, copy, modify, and distribute this
6 * software is freely granted, provided that this notice
8 * ====================================================
14 SOTYPE_FUNCTION(memset)
35 #ifndef __OPTIMIZE_SIZE__
36 /* Less than 16 bytes won't benefit from the 'rep stosl' loop. */
42 /* It turns out that 8-byte aligned 'rep stosl' outperforms
43 4-byte aligned on some x86 platforms. */
84 /* At this point, ecx>8 and edi%8==0. */
97 #endif /* not __OPTIMIZE_SIZE__ */