powerpc: POWER7 optimised memcpy using VMX and enhanced prefetch
[deliverable/linux.git] / arch / powerpc / lib / memcpy_64.S
index 82fea3963e15d36f8c30577fce53e7bc30196ac3..d2bbbc8d7dc0b045aab751d79264a2f4f959fe61 100644 (file)
 
        .align  7
 _GLOBAL(memcpy)
+BEGIN_FTR_SECTION
        std     r3,48(r1)       /* save destination pointer for return value */
+FTR_SECTION_ELSE
+       b       memcpy_power7
+ALT_FTR_SECTION_END_IFCLR(CPU_FTR_VMX_COPY)
        PPC_MTOCRF(0x01,r5)
        cmpldi  cr1,r5,16
        neg     r6,r3           # LS 3 bits = # bytes to 8-byte dest bdry
This page took 0.040921 seconds and 5 git commands to generate.