mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
x86: Expand the comment on when REP STOSB is used on memset
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
272708884c
commit
491e55beab
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@
|
|||
2. If size is less than VEC, use integer register stores.
|
||||
3. If size is from VEC_SIZE to 2 * VEC_SIZE, use 2 VEC stores.
|
||||
4. If size is from 2 * VEC_SIZE to 4 * VEC_SIZE, use 4 VEC stores.
|
||||
5. If size is more to 4 * VEC_SIZE, align to 4 * VEC_SIZE with
|
||||
5. On machines ERMS feature, if size is greater or equal than
|
||||
__x86_rep_stosb_threshold then REP STOSB will be used.
|
||||
6. If size is more to 4 * VEC_SIZE, align to 4 * VEC_SIZE with
|
||||
4 VEC stores and store 4 * VEC at a time until done. */
|
||||
|
||||
#include <sysdep.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue