Mercurial > hg > truffle
diff src/cpu/sparc/vm/sparc.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 | db2e64ca2d5a |
children | 5da7201222d5 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sparc.ad Wed Dec 07 11:35:03 2011 +0100 +++ b/src/cpu/sparc/vm/sparc.ad Tue Dec 20 16:56:50 2011 +0100 @@ -6773,6 +6773,16 @@ ins_pipe(empty); %} +instruct membar_storestore() %{ + match(MemBarStoreStore); + ins_cost(0); + + size(0); + format %{ "!MEMBAR-storestore (empty encoding)" %} + ins_encode( ); + ins_pipe(empty); +%} + //----------Register Move Instructions----------------------------------------- instruct roundDouble_nop(regD dst) %{ match(Set dst (RoundDouble dst));