Re: [PATCH v6] RISCV: Inline subword atomic ops

2023-04-18 Thread Palmer Dabbelt
On Tue, 18 Apr 2023 09:39:13 PDT (-0700), Patrick O'Neill 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 call). Beha

[PATCH v6] RISCV: Inline subword atomic ops

2023-04-18 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 -mno-inline-a