__asm__ __volatile__ (
"\n"
+ "\tpush %%ebx\n" /* ebx is GOT pointer (-fPIC) */
/*
* initialization, load ESI, EDI, EBX registers
*/
"\tjnz 4b\n"
"\tdecl %0\n"
"\tjnz 1b\n"
- // "\tjmp 6f\n"
"7:"
+ "\tpop %%ebx\n" /* ebx is GOT pointer (-fPIC) */
: /* no output regs */
: "m" (size), "m" (dst), "m" (src), "m" (sum), "m" (dst_step), "m" (src_step), "m" (sum_step)
- : "esi", "edi", "edx", "ecx", "ebx", "eax"
+ : "esi", "edi", "edx", "ecx", "eax"
);
}
__asm__ __volatile__ (
"\n"
+ "\tpush %%ebx\n" /* ebx is GOT pointer (-fPIC) */
/*
* initialization, load ESI, EDI, EBX registers
*/
"\tdecl %0\n"
"\tjnz 1b\n"
"\temms\n"
+ "\tpop %%ebx\n" /* ebx is GOT pointer (-fPIC) */
: /* no output regs */
: "m" (size), "m" (dst), "m" (src), "m" (sum), "m" (dst_step), "m" (src_step), "m" (sum_step)
- : "esi", "edi", "edx", "ecx", "ebx", "eax"
+ : "esi", "edi", "edx", "ecx", "eax"
);
}
__asm__ __volatile__ (
"\n"
+ "\tpush %%ebx\n" /* ebx is GOT pointer (-fPIC) */
/*
* initialization, load ESI, EDI, EBX registers
*/
"\tjmp 1b\n"
"6:"
+ "\tpop %%ebx\n" /* ebx is GOT pointer (-fPIC) */
+
: /* no output regs */
: "m" (size), "m" (dst), "m" (src), "m" (sum), "m" (dst_step), "m" (src_step), "m" (sum_step)
- : "esi", "edi", "edx", "ecx", "ebx", "eax"
+ : "esi", "edi", "edx", "ecx", "eax"
);
}
-