Re: __sync_lock_test_and_set on ARM

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

 



Andrew Haley wrote:
David Daney writes:
> > My personal preference would be to use the GCC builtins when
 > possible.  If they are not generating proper code for your target,
 > file a bug report so they can be fixed.

Mine too, but pre-ARM v6 the builtins can't be done in userland, so
what should gcc generate?  Syscalls?

The RTL pattern can be dependent on the target ISA so that it is not expanded where not supported. In this case a libcall is generated instead.

David Daney

[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