Friday, 11 March 2016

Re: [gccsdk] UnixLib and ARMv8

On 05/03/16 17:23, Theo Markettos wrote:
> On Sat, Mar 05, 2016 at 04:06:12PM +0100, John Tytgat wrote:
>> On 03/01/2016 07:26 PM, Theo Markettos wrote:
>>> [...]
>>> I can do some implementation and testing, if this is deemed to be
>>> a good idea. ('testing' in a loose sense - provoking concurrency
>>> conditions being somewhat hard)
>>
>> FYI, UnixLib has some testing code in its 'test' subdirectory (incl.
>> pthread). It might be useful to verify nothing gets obviously
>> broken.
>
> Useful to know.

> I'll let Lee take the lead since he probably knows more than I about the
> internals, but let me know if you need help.

I've just committed some changes that determine whether to use SWP
or LDREX/STREX at runtime using the info that Ben posted as a guide.
Perhaps if you have a RPi3, you could see if Otter works?

I think the pthread testing code may need some work to bring it up
to date, plus all the tests need to be built with the -static flag, but
that's proving difficult to achieve.

Lee.


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment