https://bugs.llvm.org/show_bug.cgi?id=50564
Bug ID: 50564
Summary: atomic_signal_fence should not generate a dmb on
aarch64
Product: new-bugs
Version: 11.0
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
This is related to https://bugs.llvm.org/show_bug.cgi?id=27545, which is
fixed–but apparently only for optimized code. Without optimization I'm still
seeing a dmb ish for atomic_signal_fence on aarch64. The standard (7.17.4.2)
specifically mentions that "hardware fence instructions that
atomic_thread_fence would have inserted are not emitted", so this I think this
behavior is somewhat surprising if not incorrect. Here's a Godbolt link with
sample code compiled without optimization demonstrating this bug:
https://godbolt.org/z/qh55n184G
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs