From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12817 invoked by alias); 11 Dec 2001 22:09:36 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 12794 invoked from network); 11 Dec 2001 22:09:34 -0000 Received: from unknown (HELO dibbler.ne.mediaone.net) (24.218.57.139) by sources.redhat.com with SMTP; 11 Dec 2001 22:09:34 -0000 Received: (from rodrigc@localhost) by dibbler.ne.mediaone.net (8.11.0/8.11.0) id fBBM9fR15308; Tue, 11 Dec 2001 17:09:41 -0500 Date: Tue, 11 Dec 2001 14:38:00 -0000 From: Craig Rodrigues To: Mark Cuss Cc: grahams@redhat.com, gcc@gcc.gnu.org Subject: Re: Embedded Assembly and MMX in GCC Message-ID: <20011211170941.A15302@mediaone.net> References: <20011204153416.A24659@disaster.jaj.com> <20011204155032.A24992@disaster.jaj.com> <00d001c17d05$4be398c0$160e10ac@hades> <3C0D3A05.6FE3602F@redhat.com> <00cc01c18271$ef4c12a0$160e10ac@hades> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00cc01c18271$ef4c12a0$160e10ac@hades>; from mcuss@cdlsystems.com on Tue, Dec 11, 2001 at 11:30:39AM -0700 X-SW-Source: 2001-12/txt/msg00614.txt.bz2 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