mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: linux <linux-kernel@vger.kernel.org>
Subject: Re: working with mmx
Date: Fri, 23 Jul 2004 19:43:06 +1000	[thread overview]
Message-ID: <4100DDAA.5030003@eyal.emu.id.au> (raw)
In-Reply-To: <20040723075445.56108.qmail@web52902.mail.yahoo.com>

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

      reply	other threads:[~2004-07-23  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23  7:54 Ankit Jain
2004-07-23  9:43 ` Eyal Lebedinsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4100DDAA.5030003@eyal.emu.id.au \
    --to=eyal@eyal.emu.id.au \
    --cc=ankitjain1580@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®