Messages in this thread | | | Date | Fri, 23 Jul 2004 19:43:06 +1000 | From | Eyal Lebedinsky <> | Subject | Re: working with mmx |
| |
Ankit Jain wrote: > actually the problem is i am not able to understand > why this is not functiuoning > > asm("mov %2,%0" > "mov %3,%1" > :"=r"(x),"=r"(y) > :"r"(a),"r"(b)) > > it gives assembler error
The two strings "mov %2,%0" "mov %3,%1" get concatenated, try to separate them, e.g. "mov %2,%0\n" "mov %3,%1"
-- Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |