aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/boot
diff options
context:
space:
mode:
authorMa Ling <ling.ma@intel.com>2010-09-17 03:12:40 +0800
committerH. Peter Anvin <hpa@zytor.com>2010-09-24 18:57:11 -0700
commit3b4b682becdfa9f42321aa024d5cc84f71f06d8c (patch)
tree807cac0bfbc45d45f156dae742b31f9a66aaa559 /arch/score/boot
parent59daa706fbec745684702741b9f5373142dd9fdc (diff)
downloadkernel_samsung_crespo-3b4b682becdfa9f42321aa024d5cc84f71f06d8c.zip
kernel_samsung_crespo-3b4b682becdfa9f42321aa024d5cc84f71f06d8c.tar.gz
kernel_samsung_crespo-3b4b682becdfa9f42321aa024d5cc84f71f06d8c.tar.bz2
x86, mem: Optimize memmove for small size and unaligned cases
movs instruction will combine data to accelerate moving data, however we need to concern two cases about it. 1. movs instruction need long lantency to startup, so here we use general mov instruction to copy data. 2. movs instruction is not good for unaligned case, even if src offset is 0x10, dest offset is 0x0, we avoid and handle the case by general mov instruction. Signed-off-by: Ma Ling <ling.ma@intel.com> LKML-Reference: <1284664360-6138-1-git-send-email-ling.ma@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/score/boot')
0 files changed, 0 insertions, 0 deletions