mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* working with mmx
@ 2004-07-23  7:54 Ankit Jain
  2004-07-23  9:43 ` Eyal Lebedinsky
  0 siblings, 1 reply; 2+ messages in thread
From: Ankit Jain @ 2004-07-23  7:54 UTC (permalink / raw)
  To: linux

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

ankit 

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: working with mmx
  2004-07-23  7:54 working with mmx Ankit Jain
@ 2004-07-23  9:43 ` Eyal Lebedinsky
  0 siblings, 0 replies; 2+ messages in thread
From: Eyal Lebedinsky @ 2004-07-23  9:43 UTC (permalink / raw)
  To: Ankit Jain; +Cc: linux

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/>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-23  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-23  7:54 working with mmx Ankit Jain
2004-07-23  9:43 ` Eyal Lebedinsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®