1 /* Written 2003 by Andi Kleen, based on a kernel by Evandro Menezes */
3 /* Don't use streaming store because it's better when the target
6 /* Could vary the prefetch distance based on SMP/UP */
16 movl $(4096/64)-5,%ecx
80 /* Some CPUs run faster using the string copy instructions.
81 It is also a lot simpler. Use this when possible */
83 #include <asm/cpufeature.h>
85 .section .altinstructions,"a"
89 .byte X86_FEATURE_REP_GOOD
90 .byte copy_page_c_end-copy_page_c
91 .byte copy_page_c_end-copy_page_c
94 .section .altinstr_replacement,"ax"