Mercurial > hg > truffle
diff src/cpu/x86/vm/x86_32.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 | 65149e74c706 |
children | e9a5e0a812c8 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/x86_32.ad Wed Dec 07 11:35:03 2011 +0100 +++ b/src/cpu/x86/vm/x86_32.ad Tue Dec 20 16:56:50 2011 +0100 @@ -7368,6 +7368,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(eAXRegP dst, eAXRegI src) %{ match(Set dst (CastX2P src));