1

Asm Code problems

view story
linux-howto

http://www.linuxquestions.org – Hi everyone, I'm making a multimedia library to speedup vector and matrix computation. But I'm getting a strange error, in this code Quote: void memcpy_unrolled_sse2(void *dst, void *src, int size) { int i = 0, length = (size/16)*16, length2 = (size/32)*32, length4 = (size/64)*64, length8 = (size/128)*128; char *a = (char *)src; char *b = (char *)dst; for(i = 0; i < length8; i+=128) { __asm__ volatile ( // instruction comment "\n\t movdqa %8,%%xmm0 \t#" "\n\t movdqa (HowTos)