tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: __atomic_test_and_set() and mips o32 - help wanted
On Sat, 22 Nov 2025, matthew green wrote:
> > Great! So all you need is to strap GCC for producing these instructions
> > in gcc/config.gcc, by setting `with_llsc=yes' for your target triplets of
> > interest (you can still override it at the command line at GCC invocation
> > if you need that for any reason). See the existing pattern there.
> >
> > You may have to do some juggling with the configuration of the libraries,
> > but I suspect that'll be enough for GCC to avoid emitting libcalls for any
> > atomic operations missing otherwise.
>
> thanks for the suggestion, it works and i've commited it.
>
> it was just the config.gcc portion (& mknative), libs seemed fine.
>
> thanks again.
I'm glad to be of help after all.
Maciej
Home |
Main Index |
Thread Index |
Old Index