Re: [PATCH v3] RISC-V: Add support for inlining subword atomic operations

2022-05-03 Thread Andreas Schwab
With inline atomics it should no longer be necessary to link -latomic with -pthread. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

[PATCH v3] RISC-V: Add support for inlining subword atomic operations

2022-04-19 Thread Patrick O'Neill
RISC-V has no support for subword atomic operations; code currently generates libatomic library calls. This patch changes the default behavior to inline subword atomic calls (using the same logic as the existing library call). Behavior can be specified using the -minline-atomics and