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

2022-02-23 Thread Palmer Dabbelt
On Mon, 07 Feb 2022 16:48:41 PST (-0800), patr...@rivosinc.com wrote: 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

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

2022-02-07 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