From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8692 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: status of armhf asm with VFP instructions Date: Mon, 19 Oct 2015 02:12:27 -0400 Message-ID: <20151019061227.GL8645@brightrain.aerifal.cx> References: <20151015223320.GW10551@port70.net> <20151015224425.GA8645@brightrain.aerifal.cx> <20151015231606.GX10551@port70.net> <20151015235809.GY10551@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1445235166 25310 80.91.229.3 (19 Oct 2015 06:12:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 06:12:46 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8704-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 19 08:12:46 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Zo3ga-0002OS-55 for gllmg-musl@m.gmane.org; Mon, 19 Oct 2015 08:12:44 +0200 Original-Received: (qmail 22401 invoked by uid 550); 19 Oct 2015 06:12:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22383 invoked from network); 19 Oct 2015 06:12:40 -0000 Content-Disposition: inline In-Reply-To: <20151015235809.GY10551@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8692 Archived-At: On Fri, Oct 16, 2015 at 01:58:09AM +0200, Szabolcs Nagy wrote: > * Szabolcs Nagy [2015-10-16 01:16:07 +0200]: > > * Rich Felker [2015-10-15 18:44:25 -0400]: > > > It seems we're already using the new forms vsqrt and vabs in > > > src/math/armhf/*.s. So using vmrs/vmsr presumably will not break > > > support for any toolchains that work now. > > > > > > > vmrs/vmsr can break on old binutils versions (2.18 - 2.20) and > > 2.20 is not that ancient.. is that ok? > > > > attached the old armhf patch with updated commit message. > >From 542d4003a60320ac0446b156681c59cbc19dd6a1 Mon Sep 17 00:00:00 2001 > From: Szabolcs Nagy > Date: Tue, 21 Jul 2015 20:00:03 +0000 > Subject: [PATCH] fix armhf asm to use .fpu vfp and UAL mnemonics > > (1) Some armhf gcc toolchains (built with --with-float=hard but without > --with-fpu=vfp*) do not pass -mfpu=vfp to the assembler and then binutils > rejects the UAL mnemonics for VFP unless there is an .fpu vfp directive > in the asm source. I've committed just this part 1 since it's independent of the other changes and should yield nothing but an improvement in compatibility. I'd still like to go ahead with all the UAL changes after release. Rich