src/cpu/x86/vm/x86_32.ad
Print this page
rev 2570 : imported patch membar2
rev 2571 : [mq]: membar3
*** 7804,7815 ****
ins_encode();
ins_pipe(empty);
%}
instruct membar_acquire_lock() %{
! match(MemBarAcquire);
! predicate(Matcher::prior_fast_lock(n));
ins_cost(0);
size(0);
format %{ "MEMBAR-acquire (prior CMPXCHG in FastLock so empty encoding)" %}
ins_encode( );
--- 7804,7814 ----
ins_encode();
ins_pipe(empty);
%}
instruct membar_acquire_lock() %{
! match(MemBarAcquireLock);
ins_cost(0);
size(0);
format %{ "MEMBAR-acquire (prior CMPXCHG in FastLock so empty encoding)" %}
ins_encode( );
*** 7825,7836 ****
ins_encode( );
ins_pipe(empty);
%}
instruct membar_release_lock() %{
! match(MemBarRelease);
! predicate(Matcher::post_fast_unlock(n));
ins_cost(0);
size(0);
format %{ "MEMBAR-release (a FastUnlock follows so empty encoding)" %}
ins_encode( );
--- 7824,7834 ----
ins_encode( );
ins_pipe(empty);
%}
instruct membar_release_lock() %{
! match(MemBarReleaseLock);
ins_cost(0);
size(0);
format %{ "MEMBAR-release (a FastUnlock follows so empty encoding)" %}
ins_encode( );