re: __atomic_test_and_set() and mips o32 - help wanted
"Maciej W. Rozycki" <[email protected]> Mon, 24 Nov 2025 17:49:45 +0000 (GMT)
| Newsgroups | gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
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