mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Joakim Sindholt <opensource@zhasha.com>
To: musl@lists.openwall.com
Subject: Re: [PATCH] arm assembly changes for clang compatibility
Date: Sat, 22 Nov 2014 21:54:06 +0100	[thread overview]
Message-ID: <de9e7ddf.dNq.dMV.1U.cxrGEd@mailjet.com> (raw)
In-Reply-To: <20141107132644.GF22465@brightrain.aerifal.cx>

On Fri, 2014-11-07 at 08:26 -0500, Rich Felker wrote:
> On Fri, Nov 07, 2014 at 11:48:05AM +0100, Joakim Sindholt wrote:
> > On Fri, 2014-11-07 at 10:37 +0100, Luca Barbato wrote:
> > > On 06/11/14 23:38, Joakim Sindholt wrote:
> > > > +	.word 0xecbc8b10 /* vldmia ip!, {d8-d15} */
> > > 
> > > clang is already notified?
> > > 
> > > lu
> > 
> > I'm not sure what you mean. There isn't a bug in clang as it will
> > happily accept "vldmia ip!, {d8-d15}". It just won't accept "ldc p11,
> > cr8, [ip], #64" because that's not a legal instruction. Musl just uses
> > it because it aliases to the former and gas won't complain about missing
> > ARM features.
> 
> Yes, the problem is that we can't use the official mnemonic because
> the assembler will reject it when the target model lacks fpu, and we
> can't use the generic coprocessor mnemonic because ARM and clang
> intentionally removed support for it. :(
> 
> Rich

Any chance of getting this committed or is there more work to be done
and discussions to be had?

This is the only change needed to get musl working on ARM clang.






  reply	other threads:[~2014-11-22 20:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1415313526-3350676-1-git-send-email-opensource@zhasha.com>
2014-11-06 22:38 ` Joakim Sindholt
2014-11-07  9:37   ` Luca Barbato
2014-11-07 10:48     ` Joakim Sindholt
2014-11-07 13:26       ` Rich Felker
2014-11-22 20:54         ` Joakim Sindholt [this message]
2014-11-22 21:09           ` Rich Felker

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=de9e7ddf.dNq.dMV.1U.cxrGEd@mailjet.com \
    --to=opensource@zhasha.com \
    --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).