Follows 5e952d5ef68a, the cost of sync is high.

Wed, 07 Feb 2018 15:44:45 +0800

author
fujie
date
Wed, 07 Feb 2018 15:44:45 +0800
changeset 8022
a9cf1a1da2b9
parent 8021
7745bb9444be
child 8023
8aa7175e677c

Follows 5e952d5ef68a, the cost of sync is high.

src/cpu/mips/vm/mips_64.ad file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/mips_64.ad	Thu Feb 01 09:25:24 2018 +0800
     1.2 +++ b/src/cpu/mips/vm/mips_64.ad	Wed Feb 07 15:44:45 2018 +0800
     1.3 @@ -7733,7 +7733,7 @@
     1.4  
     1.5  instruct membar_acquire() %{
     1.6    match(MemBarAcquire);
     1.7 -  ins_cost(0);
     1.8 +  ins_cost(400);
     1.9  
    1.10    format %{ "MEMBAR-acquire (empty) @ membar_acquire" %}
    1.11    ins_encode %{
    1.12 @@ -7830,7 +7830,7 @@
    1.13  instruct membar_storestore() %{
    1.14    match(MemBarStoreStore);
    1.15  
    1.16 -  ins_cost(0);
    1.17 +  ins_cost(400);
    1.18    format %{ "MEMBAR-storestore (empty encoding) @ membar_storestore" %}
    1.19    ins_encode %{
    1.20      __ sync();

mercurial