[PATCH v3] bpf: Add support to eBPF atomic instructions

2021-10-26 Thread Guillermo E. Martinez via Gcc-patches
Apologies, I forgot update the ChangeLog(s) Kind Regards, Guillermo eBPF add support for atomic instructions, the following gcc built-in functions are implemented for bpf target using both: 32 and 64 bits data types: __atomic_fetch_add __atomic_fetch_sub __atomic_fetc

[PATCH v3] bpf: Add support to eBPF atomic instructions

2021-10-26 Thread Guillermo E. Martinez via Gcc-patches
Hello people, This patch v3 to add support for atomics instructions in eBPF target, the rtl for eBPF atomics was splitted in a new file: atomic.md, Thanks Andrew for the comments, Kind Regards, Guillermo eBPF add support for atomic instructions, the following gcc built-in functions are