public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Gas Problems
@ 2002-02-19 16:06 Randall Hyde
  2002-04-11  3:21 ` Alan Modra
  0 siblings, 1 reply; 7+ messages in thread
From: Randall Hyde @ 2002-02-19 16:06 UTC (permalink / raw)
  To: binutils

Hi, I'm having problems with Gas as
follows:

Note: I'm using .intel_syntax in Gas to process the
output of a compiler I've written (which emits MASM
code, porting it to AT&T syntax is too much of a headache).

Here are some problems I've found:

(1) statements like the following get rejected:
fstp float ptr [eax]
fstp double ptr [eax]
fstp tfloat ptr [eax]

By trial and error I've found appropriate AT&T suffix
that work, but they are inconsistent, especially on the
integer FP instructions.

(2) movq and other MMX ilk that support 64-bit operands
don't allow "qword ptr" ("must have a 64-bit architecture"
or some-such error results).

CMPSD and MOVSD don't assemble (the other string
instructions are fine).


Hope this helps,
Randy Hyde





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-11 11:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <199910171436.LAA01757@sleipnir.valparaiso.cl>
1999-10-17 20:46 ` GAS problems Alan Modra
1999-10-18 16:24   ` Horst von Brand
1999-10-18 21:31     ` Alan Modra
2002-02-19 16:06 Gas Problems Randall Hyde
2002-04-11  3:21 ` Alan Modra
2002-04-11  3:50   ` Alan Modra
2002-04-11  4:57   ` Alan Modra

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).