From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6471 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] arm assembly changes for clang compatibility Date: Fri, 7 Nov 2014 08:26:44 -0500 Message-ID: <20141107132644.GF22465@brightrain.aerifal.cx> References: <1415313526-3350676-1-git-send-email-opensource@zhasha.com> <545C92C7.4040703@gentoo.org> 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 1415366825 25756 80.91.229.3 (7 Nov 2014 13:27:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2014 13:27:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6484-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 07 14:26:58 2014 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 1XmjZ4-00039L-8g for gllmg-musl@m.gmane.org; Fri, 07 Nov 2014 14:26:58 +0100 Original-Received: (qmail 30714 invoked by uid 550); 7 Nov 2014 13:26:57 -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 30706 invoked from network); 7 Nov 2014 13:26:56 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6471 Archived-At: 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