From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11268 invoked by alias); 2 May 2005 19:07:45 -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 10458 invoked from network); 2 May 2005 19:07:37 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 2 May 2005 19:07:37 -0000 Received: (qmail 29261 invoked from network); 2 May 2005 19:07:37 -0000 Received: from localhost (HELO taltos.codesourcery.com) (zack@127.0.0.1) by mail.codesourcery.com with SMTP; 2 May 2005 19:07:37 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Mon, 2 May 2005 12:07:36 -0700 To: Ian Lance Taylor Cc: binutils , Paul Brook , Richard Earnshaw Subject: Re: [PATCH] ARM: Closing in on unified assembly syntax References: <877jikiv3g.fsf@codesourcery.com> <878y2xihfj.fsf@codesourcery.com> <20050502190419.GA16461@nevyn.them.org> From: Zack Weinberg Date: Mon, 02 May 2005 19:07:00 -0000 In-Reply-To: <20050502190419.GA16461@nevyn.them.org> (Daniel Jacobowitz's message of "Mon, 2 May 2005 15:04:19 -0400") Message-ID: <87zmvdh2fb.fsf@codesourcery.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-05/txt/msg00041.txt.bz2 Daniel Jacobowitz writes: > On Mon, May 02, 2005 at 11:58:08AM -0700, Zack Weinberg wrote: >> Ian Lance Taylor writes: >> >> > Zack Weinberg writes: >> > >> >> - Conditional suffixes are accepted, but ignored, on all Thumb >> >> instructions. >> > >> > Maybe you are implementing to some standard that requires this, but it >> > looks decidedly odd to me. I would expect that a conditional suffix >> > in Thumb mode should cause an error. >> >> It's an intermediate point, useful in itself as it allows correctly >> written Thumb-2 code to assemble. The next stage is to validate these >> conditional suffixes against preceding IT instructions, which actually >> cause conditional execution. Here's an example - > > To clarify: this only applies when the assembler is in Thumb-2 mode, or > it applies even in classic Thumb mode? The present state is that it applies even in classic Thumb mode. After the validator is implemented, we'll recover the inability to use conditionalized instructions in classic Thumb mode, because you can't write IT instructions in that mode. (That part is already true.) zw