From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16957 invoked by alias); 11 Dec 2001 21:13:33 -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 16446 invoked from network); 11 Dec 2001 21:12:09 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 11 Dec 2001 21:12:09 -0000 Received: from fri.redhat.lsd.ic.unicamp.br (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA21153; Tue, 11 Dec 2001 13:12:02 -0800 (PST) Received: from free.redhat.lsd.ic.unicamp.br (free.redhat.lsd.ic.unicamp.br [192.168.160.1]) by fri.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) with ESMTP id fBBLC0Z04944; Tue, 11 Dec 2001 19:12:00 -0200 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.11.6/8.11.6) id fBBLC0210864; Tue, 11 Dec 2001 19:12:00 -0200 X-Authentication-Warning: free.redhat.lsd.ic.unicamp.br: aoliva set sender to aoliva@redhat.com using -f To: mcuss@cdlsystems.com Cc: , Subject: Re: Embedded Assembly and MMX in GCC References: <20011204153416.A24659@disaster.jaj.com> <20011204155032.A24992@disaster.jaj.com> <00d001c17d05$4be398c0$160e10ac@hades> <3C0D3A05.6FE3602F@redhat.com> <00cc01c18271$ef4c12a0$160e10ac@hades> <012001c18286$3ca8f9a0$160e10ac@hades> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Tue, 11 Dec 2001 13:18:00 -0000 In-Reply-To: "Mark Cuss"'s message of "Tue, 11 Dec 2001 13:55:59 -0700" Message-ID: User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-12/txt/msg00611.txt.bz2 On Dec 11, 2001, "Mark Cuss" wrote: > If I put two %'s in front of mm0, the assembler returns "bad register name > `%%mm0` " > With the one %, it says "suffix or operands invalid for `movq`" > It seems that on an inline statement, I need to put only 1 % in front of reg > names if there are no input or output variables, and 2 %'s if there are... Ah, yes, indeed! I had mis-read your report. If the message comes from the assembler, then it seems to be the case that the assembler doesn't support the opcode you're using, or it expects it to be written in a different way. In either case, the GCC mailing list is not the best place to discuss assembler issues: the binutils mailing list is (as long as you're using GNU as :-). -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me