From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7729 invoked by alias); 19 Feb 2002 23:27:06 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 7609 invoked from network); 19 Feb 2002 23:27:04 -0000 Received: from unknown (HELO rly-ip01.mx.aol.com) (205.188.156.49) by sources.redhat.com with SMTP; 19 Feb 2002 23:27:04 -0000 Received: from logs-wf.proxy.aol.com (logs-wf.proxy.aol.com [205.188.195.132]) by rly-ip01.mx.aol.com (8.8.8/8.8.8/AOL-5.0.0) with ESMTP id SAA03143 for ; Tue, 19 Feb 2002 18:26:03 -0500 (EST) Received: from default-users (AC8A9C24.ipt.aol.com [172.138.156.36]) by logs-wf.proxy.aol.com (8.10.0/8.10.0) with SMTP id g1JNOL6109816 for ; Tue, 19 Feb 2002 18:24:22 -0500 (EST) Message-ID: <003801c1b99c$ff353b80$05000006@default-users> Reply-To: "Randall Hyde" From: "Randall Hyde" To: Subject: Gas Problems Date: Tue, 19 Feb 2002 16:06:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Apparently-From: RHYDEMSCS@aol.com X-SW-Source: 2002-02/txt/msg00725.txt.bz2 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