This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: A bug in IA32 assembler
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: A bug in IA32 assembler
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Thu, 28 Jun 2001 22:58:33 +0930
- Cc: binutils at sourceware dot cygnus dot com
- References: <20010627234857.A23201@lucon.org>
On Wed, Jun 27, 2001 at 11:48:57PM -0700, H . J . Lu wrote:
> # gcc -c xmm.s
> xmm.s: Assembler messages:
> xmm.s:11: Error: suffix or operands invalid for `movaps'
>
> Which one is valid,
>
> movaps (A.3),%xmm0
>
> or
> movaps ($A.3),%xmm0
Both, I suppose, although the second one is trickery to get a
'$' into a label.
movaps A.3,%xmm0
is really what you want; Your added parentheses just act as they
normally do in arithmetic expressions.
Alan