mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
a5b250a428
B stepping were the first shipping Opterons. memcpy/memset/copy_page/ clear_page had special optimized version for them. These are really old and in the minority now and the difference to the generic versions (using rep microcode) is not that big anyways. So just remove them. TODO: figure out optimized versions for Intel Netburst based EM64T Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 lines
136 B
ArmAsm
13 lines
136 B
ArmAsm
/*
|
|
* Zero a page.
|
|
* rdi page
|
|
*/
|
|
.globl clear_page
|
|
.p2align 4
|
|
clear_page:
|
|
movl $4096/8,%ecx
|
|
xorl %eax,%eax
|
|
rep
|
|
stosq
|
|
ret
|