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 /* C stepping K8 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_K8_C
90 .byte copy_page_c_end-copy_page_c
91 .byte copy_page_c_end-copy_page_c
94 .section .altinstr_replacement,"ax"