From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from susu.bendor.com.au (susu.bendor.com.au [203.16.199.2]) by sourceware.org (Postfix) with ESMTPS id 33C1D3858036 for ; Thu, 29 Jul 2021 21:26:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 33C1D3858036 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bendor.com.au Authentication-Results: sourceware.org; spf=none smtp.mailfrom=bendor.com.au Received: from mazsola (mazsola.bendor.com.au [203.16.199.5]) by susu.bendor.com.au (Postfix) with ESMTPSA id CCF3456004D for ; Fri, 30 Jul 2021 07:26:45 +1000 (EST) Date: Fri, 30 Jul 2021 07:26:45 +1000 From: =?UTF-8?B?Wm9sdMOhbiBLw7Njc2k=?= To: gcc@gcc.gnu.org Subject: Re: An asm constraint issue (ARM FPU) Message-ID: <20210730072645.45aa3b37@mazsola> In-Reply-To: <9bd5681-fd38-7883-e06d-ca1c6b754a0@hippo.saclay.inria.fr> References: <20210725123616.45126a97@mazsola> <9bd5681-fd38-7883-e06d-ca1c6b754a0@hippo.saclay.inria.fr> Organization: Bendor Research Pty. Ltd. X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2021 21:26:50 -0000 Dear Marc, Sorry for the late answer, I was away for a few days. Yes, that fixes it. THANK YOU! Do you know which gcc source file contains the magic qualifiers for the asm arguments? I wouldn't mind to go through the code and extract what I can. Probably I'd find a couple of gems that are useful for inline asm stuff. Maybe even write the info pages that describe them, so that others can make use of them... Thanks again, Best Regards, Zoltan On Sun, 25 Jul 2021 14:19:56 +0200 (CEST) Marc Glisse wrote: > On Sun, 25 Jul 2021, Zolt=C3=A1n K=C3=B3csi wrote: >=20 > > [...] > > double spoof( uint64_t x ) > > { > > double r; > > > > asm volatile > > ( > > " vmov.64 %[d],%Q[i],%R[i] \n" =20 >=20 > Isn't it supposed to be %P[d] for a double? > (the documentation is very lacking...) >=20 > > [...] > --=20 > Marc Glisse