runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/arm32] Generate memory barrier instructions for the GTF_IND_VOLATILE or GTF_FLD_VOLATILE flags.

Open briansull opened this issue 9 years ago • 5 comments

Currently only the legacy backend will generate memory barrier instructions when these flags are set.

For the RyuJit backend (on architectures that require memory barriers) we need to generate them when these flags are set.

On x86/x64 due to the architecture no extra memory barrier instructions are required. Only ARM32 needs this now

briansull avatar Feb 22 '17 00:02 briansull

Arm64 label can be removed and title changed.

sdmaclea avatar Jun 15 '17 15:06 sdmaclea

@jashook I assume you are not actively working on this, in which case I suggest un-assigning yourself as owner.

BruceForstall avatar Nov 07 '17 18:11 BruceForstall

@BruceForstall I've checked - RyuJIT still does not generate memory barriers. Could you assign current issue (and this one https://github.com/dotnet/coreclr/issues/11501) to me? Another issue is about creating test cases. Could you, please, advice me how to test memory barriers, except for running two threads many times?

Buyduck avatar Feb 01 '18 13:02 Buyduck

@BruceForstall could you add @Buyduck to dotnet/arm32-contrib

cc @dotnet/arm32-contrib

alpencolt avatar Feb 01 '18 15:02 alpencolt

Fixed by dotnet/coreclr#16181

BruceForstall avatar Feb 13 '18 00:02 BruceForstall