Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Z0Btv-0000kT-DB for mharc-grub-devel@gnu.org; Wed, 03 Jun 2015 12:52:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Btt-0000kH-Nn for grub-devel@gnu.org; Wed, 03 Jun 2015 12:52:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0Btp-0005zE-Em for grub-devel@gnu.org; Wed, 03 Jun 2015 12:52:21 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:34185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Btp-0005yz-6w for grub-devel@gnu.org; Wed, 03 Jun 2015 12:52:17 -0400 Received: by wgv5 with SMTP id 5so14374116wgv.1 for ; Wed, 03 Jun 2015 09:52:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=HOjJOO1yxfeEjrWGSgVAS32otM+fFsrhe0KUWuDkGgo=; b=IDNxiSdQbw6NrsX2HaIy2XTDxiPrVUMLXsbrK32C+Fo3FsAg1LJZmLwq+91eo1SXnX hzl4KZ25uRG4x2QkpBi6cAZMVoBVYtoa0py8SXVY8CKhDjjb82H5k8/HH+vbbDTnLyk9 YXniK16SYxImSlTZ5ZijmI+84hWAojsgFXqXPOS2MSooAMlr/zgG96dM9Buc0TBIHmCB WjqmyXnqcetoPxfOkbboFHkJAHrbi8H+vDeilGrLYVPiGzeZ77lbc4BMLaa0GhQLNxud 7OjVKewyK+6cPU1cP+fqf+WDle4vBVWoFyBx2ELFauWLs1Dc/ObFh+1vjSB5An5UsnMo YTog== X-Gm-Message-State: ALoCoQntgloBhTde4OnTCPt2+SEKdR+EHxGf3NjOLdFrJhWciDWfUtLQnrN8NHblx6YcdAPX5Kos X-Received: by 10.180.107.70 with SMTP id ha6mr42899085wib.20.1433350336017; Wed, 03 Jun 2015 09:52:16 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by mx.google.com with ESMTPSA id ez19sm27370377wid.19.2015.06.03.09.52.14 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Jun 2015 09:52:15 -0700 (PDT) Date: Wed, 3 Jun 2015 17:52:12 +0100 From: Leif Lindholm To: Andrei Borzenkov Subject: Re: arm64 softfloat Message-ID: <20150603165212.GO8790@bivouac.eciton.net> References: <20150602120917.GI8790@bivouac.eciton.net> <20150602145531.GK8790@bivouac.eciton.net> <556DDBCC.3000500@gmail.com> <20150602195112.5d178bb7@opensuse.site> <20150603110650.GM8790@bivouac.eciton.net> <20150603192916.3318ceef@opensuse.site> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150603192916.3318ceef@opensuse.site> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.53 Cc: The development of GNU GRUB , Vladimir =?utf-8?Q?'=CF=86-coder=2Fphcoder'?= Serbinenko X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 16:52:22 -0000 On Wed, Jun 03, 2015 at 07:29:16PM +0300, Andrei Borzenkov wrote: > В Wed, 3 Jun 2015 12:06:50 +0100 > Leif Lindholm пишет: > > > On Tue, Jun 02, 2015 at 07:51:12PM +0300, Andrei Borzenkov wrote: > > > > What is the relation of -mgeneral-regs-only with +nofp? The decription > > > > of -mgeneral-regs-only in manual is very vague > > > > > > According to > > > http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0774a/chr1392305446662.html > > > > That is ARM's commercial clang-based compiler suite though, not > > upstream clang. > > > > > 1.16 -mgeneral-regs-only > > > > > > Prevents the use of floating-point instructions or floating-point registers. > > > Note > > > The -mgeneral-regs-only option is only valid with the aarch64-arm-none-eabi target. Use -mfpu=none to prevent the use of floating-point instructions or floating-point registers for the armv8a-arm-none-eabi target. > > > > > > The description is for armclang; we can just hope that GCC is using the > > > same semantic. > > > > https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html > > --- > > Generate code which uses only the general registers. > > --- > > Sure, I know this. Unfortunately it does not say how it is related to > floating point arithmetic at all. armclang at least makes it explicit. While it could more explicit, I am not aware of any A64 floating-point instructions that can operate without floating-point registers. Also, I spoke with the ARM gcc devs - the gcc documentation is intended to be improved to also state that "-mgeneral-regs-only is equivalent to +nofp being specified". / Leif