public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Craig Rodrigues <rodrigc@mediaone.net>
To: Mark Cuss <mcuss@cdlsystems.com>
Cc: grahams@redhat.com, gcc@gcc.gnu.org
Subject: Re: Embedded Assembly and MMX in GCC
Date: Tue, 11 Dec 2001 14:38:00 -0000	[thread overview]
Message-ID: <20011211170941.A15302@mediaone.net> (raw)
In-Reply-To: <00cc01c18271$ef4c12a0$160e10ac@hades>; from mcuss@cdlsystems.com on Tue, Dec 11, 2001 at 11:30:39AM -0700

On Tue, Dec 11, 2001 at 11:30:39AM -0700, Mark Cuss wrote:
> 
> __asm__("movq $1, %mm0");
> 
> The assembler says "suffix or operands invalid for 'mov1' "

I think there is a problem with your assembler, but I am
not enough of an assembler guru to say what.

This works for me with gcc 3.0.2 and binutils 2.10.91.0.2-3:

__asm__("movq %mm2,%mm0"); 


I recommend you look at the tutorials on:
http://www.linuxassembly.org

And also the binutils mailing list:
http://sources.redhat.com/binutils/
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net          

  parent reply	other threads:[~2001-12-11 22:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 19:13 gcc-ss-20011203 is now available gccadmin
2001-12-04  7:11 ` Andreas Schwab
2001-12-04  7:59   ` Joseph S. Myers
2001-12-04 12:16     ` guerby
2001-12-04 12:24       ` Joseph S. Myers
2001-12-04 12:30         ` Phil Edwards
2001-12-04 12:36           ` Joseph S. Myers
2001-12-04 12:46             ` Phil Edwards
2001-12-04 12:50               ` Assembly in Gcc Mark Cuss
2001-12-04 13:03                 ` Graham Stott
2001-12-04 13:27                   ` Mark Cuss
2001-12-04 19:00                   ` Tim Prince
2001-12-11 11:14                   ` Embedded Assembly and MMX in GCC Mark Cuss
2001-12-11 12:35                     ` Alexandre Oliva
2001-12-11 13:00                       ` Mark Cuss
2001-12-11 13:18                         ` Alexandre Oliva
2001-12-11 14:09                           ` Mark Cuss
2001-12-12  3:48                       ` Andreas Schwab
2001-12-11 14:38                     ` Craig Rodrigues [this message]
2001-12-04 19:54           ` gcc-ss-20011203 is now available Mark Mitchell

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=20011211170941.A15302@mediaone.net \
    --to=rodrigc@mediaone.net \
    --cc=gcc@gcc.gnu.org \
    --cc=grahams@redhat.com \
    --cc=mcuss@cdlsystems.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).