Re: working with mmx

From: Eyal Lebedinsky
Date: Fri Jul 23 2004 - 04:44:22 EST


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@xxxxxxxxxxxxxx) <http://samba.org/eyal/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/