]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mem: memset_64.S: Optimize memset by enhanced REP MOVSB/STOSB
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 17 May 2011 22:29:18 +0000 (15:29 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 May 2011 22:40:31 +0000 (15:40 -0700)
commit21d7ec9c82087b8950d9abdb0c684777b34a948a
tree00a13ef37681e1f983a40680b17c850ce035fb87
parent4a759f4b73d3c6d5d3f293ee0723556030e34ab3
x86, mem: memset_64.S: Optimize memset by enhanced REP MOVSB/STOSB

Support memset() with enhanced rep stosb. On processors supporting enhanced
REP MOVSB/STOSB, the alternative memset_c_e function using enhanced rep stosb
overrides the fast string alternative memset_c and the original function.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1305671358-14478-10-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/lib/memset_64.S