Re: Atomic accesses on ARM microcontrollers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Fri, Oct 09, 2020 at 08:28:05PM +0200, David Brown wrote:
> For 8-bit, 16-bit and 32-bit types, atomic accesses are just simple
> loads and stores.  These are generated fine.
> 
> But for 64-bit and above, there are library calls to a compiler-provided
> library.

> Is there any way I can replace this library with my own code here, while
> still using the language atomics?

Add something in libgcc/config/arm/ ?

You might need to add something specific to some configuration (in some
t-* file), or maybe add another command line flag.

It sounds like you have to add more constraints on what atomic can be
used for than what is specified currently.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux