diff src/cpu/x86/vm/x86_64.ad @ 4763:1dc233a8c7fe

7121140: Allocation paths require explicit memory synchronization operations for RMO systems Summary: adds store store barrier after initialization of header and body of objects. Reviewed-by: never, kvn
author roland
date Tue, 20 Dec 2011 16:56:50 +0100
parents 069ab3f976d3
children e9a5e0a812c8
line wrap: on
line diff
--- a/src/cpu/x86/vm/x86_64.ad	Wed Dec 07 11:35:03 2011 +0100
+++ b/src/cpu/x86/vm/x86_64.ad	Tue Dec 20 16:56:50 2011 +0100
@@ -6810,6 +6810,16 @@
   ins_pipe(empty);
 %}
 
+instruct membar_storestore() %{
+  match(MemBarStoreStore);
+  ins_cost(0);
+
+  size(0);
+  format %{ "MEMBAR-storestore (empty encoding)" %}
+  ins_encode( );
+  ins_pipe(empty);
+%}
+
 //----------Move Instructions--------------------------------------------------
 
 instruct castX2P(rRegP dst, rRegL src)