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



>  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.


.mrg.


Home | Main Index | Thread Index | Old Index