Re: [Gc] [libatomic_ops] AArch64: Shareability doma in for dmb st overly conservative (#11)

Ivan Maidanski <ivmai-JGs/[email protected]> Thu, 23 Oct 2014 12:36:39 +0400
Newsgroups gmane.comp.programming.garbage-collection.boehmgc,gmane.spam.detected
Message-ID <[email protected]>
 Hi Yvan and Hans,

Is the proposed change correct for ARM64 AO_nop_write? What's about 32-bit ARM?

Thank you

Thu, 16 Oct 2014 09:08:26 -0700 from stevecapperlinaro <[email protected]>:
>Hello,
>In src/atomic_ops/sysdeps/gcc/aarch64.h, we have the following code:
>__asm__ __volatile__("dmb st" : : : "memory");
>This will target the system domain and thus be overly conservative as the CPUs will occupy the inner shareable domain.
>Could this please be changed to:
>__asm__ __volatile__("dmb ishst" : : : "memory");
>That way the barriers will occupy the inner shareable domain.
>Thanks,
>Steve Capper
>—
>Reply to this email directly or  view it on GitHub .

_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc