On 11/05/2020 15:41, Cameron Cawley wrote:
> Hi all
>
> Starting with commit r7252, GCCSDK now has more complete support for
> atomic functions. This is enough to allow SDL2 to build with GCC atomics
> instead of it's own implementation. However, this does not work on
> pre-ARMv6 machines due to the use of LDREX and STREX instructions. Is it
> possible for someone to take a look at this?
Ok, it looks like I failed to provide a non ARMv7 version of __cmpxchg
in Unixlib. I'll see if I can come up with a SWP version.
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