[PATCH v2 00/17] use __atomic operations returning previous value
fengchengwen
fengchengwen at huawei.com
Fri Mar 3 03:33:33 CET 2023
On 2023/3/3 0:18, Tyler Retzlaff wrote:
> This series replaces uses of __atomic_{add,and,or,sub,xor}_fetch with
> __atomic_fetch_{add,and,or,sub,xor} intrinsics. The latter omits generation
> of code that is only needed if the returned value is actually used.
>
> Additionally, this change simplifies adapting dpdk to standard atomics
> planned for 23.07 since __atomic_fetch_xxx can be trivially replaced with
> atomic_fetch_xxx whereas __atomic_xxx_fetch has no standard equivalent.
Series-acked-by: Chengwen Feng <fengchengwen at huawei.com>
>
>
...
>
More information about the dev
mailing list