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

2023-04-25 Thread Jeff Law via Gcc-patches
On 4/25/23 09:20, Patrick O'Neill wrote: On 4/24/23 22:52, Jeff Law wrote: On 4/18/23 15:41, 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

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

2023-04-25 Thread Patrick O'Neill
On 4/24/23 22:52, Jeff Law wrote: On 4/18/23 15:41, 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 librar

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

2023-04-24 Thread Jeff Law via Gcc-patches
On 4/18/23 15:41, 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). Behavior can be specified

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

2023-04-24 Thread Patrick O'Neill
Ping Also here's the corrected link for Jeff's comments: https://inbox.sourceware.org/gcc-patches/f965671f-5997-0220-8831-a94e8c68d...@gmail.com/T/#m53e5d46a94868e68693e0d79455ca5343cf275a9 Patrick On 4/18/23 14:41, Patrick O'Neill wrote: RISC-V has no support for subword atomic operations;

[PATCH v7] 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