src/cpu/sparc/vm/sparc.ad

Print this page
rev 2892 : 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:

*** 6771,6780 **** --- 6771,6790 ---- format %{ "!MEMBAR-volatile (unnecessary so empty encoding)" %} ins_encode( ); ins_pipe(empty); %} + instruct unnecessary_membar_storestore() %{ + match(MemBarStoreStore); + ins_cost(0); + + size(0); + format %{ "!MEMBAR-storestore (unnecessary so empty encoding)" %} + ins_encode( ); + ins_pipe(empty); + %} + //----------Register Move Instructions----------------------------------------- instruct roundDouble_nop(regD dst) %{ match(Set dst (RoundDouble dst)); ins_cost(0); // SPARC results are already "rounded" (i.e., normal-format IEEE)