Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151019061227.GL8645@brightrain.aerifal.cx>
Date: Mon, 19 Oct 2015 02:12:27 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: status of armhf asm with VFP instructions

On Fri, Oct 16, 2015 at 01:58:09AM +0200, Szabolcs Nagy wrote:
> * Szabolcs Nagy <nsz@...t70.net> [2015-10-16 01:16:07 +0200]:
> > * Rich Felker <dalias@...c.org> [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 <nsz@...t70.net>
> 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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.