Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
4762:069ab3f976d3 | 4763:1dc233a8c7fe |
---|---|
6808 format %{ "MEMBAR-volatile (unnecessary so empty encoding)" %} | 6808 format %{ "MEMBAR-volatile (unnecessary so empty encoding)" %} |
6809 ins_encode(); | 6809 ins_encode(); |
6810 ins_pipe(empty); | 6810 ins_pipe(empty); |
6811 %} | 6811 %} |
6812 | 6812 |
6813 instruct membar_storestore() %{ | |
6814 match(MemBarStoreStore); | |
6815 ins_cost(0); | |
6816 | |
6817 size(0); | |
6818 format %{ "MEMBAR-storestore (empty encoding)" %} | |
6819 ins_encode( ); | |
6820 ins_pipe(empty); | |
6821 %} | |
6822 | |
6813 //----------Move Instructions-------------------------------------------------- | 6823 //----------Move Instructions-------------------------------------------------- |
6814 | 6824 |
6815 instruct castX2P(rRegP dst, rRegL src) | 6825 instruct castX2P(rRegP dst, rRegL src) |
6816 %{ | 6826 %{ |
6817 match(Set dst (CastX2P src)); | 6827 match(Set dst (CastX2P src)); |