mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: status of armhf asm with VFP instructions
Date: Mon, 19 Oct 2015 02:12:27 -0400	[thread overview]
Message-ID: <20151019061227.GL8645@brightrain.aerifal.cx> (raw)
In-Reply-To: <20151015235809.GY10551@port70.net>

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


  reply	other threads:[~2015-10-19  6:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 22:33 Szabolcs Nagy
2015-10-15 22:44 ` Rich Felker
2015-10-15 23:16   ` Szabolcs Nagy
2015-10-15 23:58     ` Szabolcs Nagy
2015-10-19  6:12       ` Rich Felker [this message]
2015-10-16  0:00     ` Rich Felker
2015-10-16  0:33       ` Szabolcs Nagy
2015-10-16  1:03         ` Rich Felker
2015-10-16  3:23           ` Rich Felker
2015-10-16  6:42     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151019061227.GL8645@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).