Memory barrier __builtin_arm_[dmb, dsb, isb] intrinsics are required to implement their corresponding ACLE and MSVC intrinsics.
This patch ports ARM dmb, dsb, isb intrinsic to AArch64. It relies on D4516.
Differential D4520
Port memory barriers intrinsics to AArch64 kongyi on Jul 15 2014, 7:51 AM. Authored by
Details Memory barrier __builtin_arm_[dmb, dsb, isb] intrinsics are required to implement their corresponding ACLE and MSVC intrinsics. This patch ports ARM dmb, dsb, isb intrinsic to AArch64. It relies on D4516.
Diff Detail
Event TimelineComment Actions Hi Yi, Are you sure this is going to interact well with D4516? The builtins you're adding are in the "__builtin_arm" space but that's (correctly, IMO) changing the prefix to "aarch64". Either way, we probably want a Clang-side test for that GCCBuiltin too. One other thing I noticed was some extra complexity that shouldn't be needed (see end). Cheers. Tim.
|