Re: [PATCH v2] RISCV: Add support for inlining subword atomics

2022-04-08 Thread Pan RZ
-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

Re: [PATCH v2] RISCV: Add support for inlining subword atomics

2022-04-07 Thread Pan RZ
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