Hi Patrick,
Glad to know that efforts have been made to add inlining subword atomic supports into gcc.
The patch looks great so far, yet as Andreas Schwab has pointed out (at
riscv-collab/riscv-gcc#337), looks like it only contains atomic fetch stuff. Just wondering
do you have further plans t
ily/c-cppbuiltin.cc#L665-L796 (inside static void
cpp_atomic_builtins), while is_always_lock_free is at
libstdc++-v3/include/std/atomic#L99. I'm not 100% sure, though, due to
my limited understanding of the codebase. Hope this information helps :-)
Yours sincerely,
Pan RZ (XieJiSS) @ PLCT Lab