|
Message-ID: <20140429005658.GC26358@brightrain.aerifal.cx> Date: Mon, 28 Apr 2014 20:56:58 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: thumb2 support On Tue, Apr 29, 2014 at 12:52:36AM +0100, Stephen Thomas wrote: > I remember that the old thumb didn't support the conditional > instructions and was quite slow. I only care about thumb2 and am > currently using gcc, so I attach a patch for the thumb that will The code here is only used on armv6/v7. Do any such chips lack thumb2? If there's any doubt, we could look at what gcc generates for the __sync_* builtins in thumb mode. > only work for gcc . Why is it only for gcc? > I think that gcc builds two versions of atomic What do you mean by this? > so the ugly #define was needed. I cannot remember what rvct/rvds or > whatever it is branded as these days uses, but from memory old > versions didn't support the gnu assebmly syntax. All asm in musl is gas syntax so this is nothing new. 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.