4ast wrote:

> lock *(u64 *)(r1 + 0x0) = r2 release
> lock r2 = *(u64 *)(r1 + 0x0) acquire

tbh I don't like such syntax. It's harder to read comparing to what the patch 
does:
r0 = load_acquire((u64 *)(r1 + 0))
store_release((u8 *)(r1 + 0x0), w2)

"lock" part doesn't fit here either. "lock" is x86 specific.

https://github.com/llvm/llvm-project/pull/108636
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to