From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757292AbZGGNqr (ORCPT ); Tue, 7 Jul 2009 09:46:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754729AbZGGNqg (ORCPT ); Tue, 7 Jul 2009 09:46:36 -0400 Received: from gra-lx1.iram.es ([150.214.224.41]:58727 "EHLO gra-lx1.iram.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753697AbZGGNqf (ORCPT ); Tue, 7 Jul 2009 09:46:35 -0400 Date: Tue, 7 Jul 2009 15:46:22 +0200 From: Gabriel Paubert To: Andreas Schwab Cc: Brad Boyer , gcc-help@gcc.gnu.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, kernel mailz Subject: Re: Inline assembly queries [2] Message-ID: <20090707134622.GB13444@iram.es> References: <20090703174031.GA12410@cynthia.pants.nu> <20090706065627.GA12499@iram.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 07, 2009 at 02:40:02PM +0200, Andreas Schwab wrote: > Gabriel Paubert writes: > > > On Fri, Jul 03, 2009 at 10:57:12PM +0200, Andreas Schwab wrote: > >> The 'Z' constraint is required for a memory operand for insns that don't > >> have an update form (which would be selected by the %U modifier). > > > > Hmmm, I believed that it was for instructions that only have an indexed > > form (all Altivec, byte reverse, and l?arx/st?cx for atomic operations). > > > > Of course none of these instructions have an update form, but they don't > > have an offset encoded in the instruction either. > > Yes, you are right. IIRC there are either all u/x/ux forms or only the > x form. AFAIR IBM (probably) managed to screw up by making an exception for lwa: lwa, lwax and lwaux exist, but not lwau! Gabriel