This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A bug in IA32 assembler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]