Remove sync in PrefetchAllocation.

Thu, 18 Aug 2016 15:57:28 +0800

author
fujie
date
Thu, 18 Aug 2016 15:57:28 +0800
changeset 84
9f35e77e4330
parent 83
b33a8eda439c
child 85
639a41524c05

Remove sync in PrefetchAllocation.

src/cpu/mips/vm/mips_64.ad file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/mips_64.ad	Thu Aug 18 15:23:16 2016 +0800
     1.2 +++ b/src/cpu/mips/vm/mips_64.ad	Thu Aug 18 15:57:28 2016 +0800
     1.3 @@ -5223,15 +5223,14 @@
     1.4    ins_pipe( ialu_loadI );
     1.5  %}
     1.6  
     1.7 -//TODO: check if it is necessery to do 'prefetch' in the future(which means never). LEE
     1.8  instruct prefetchAllocNTA( memory mem ) %{
     1.9    match(PrefetchAllocation mem);
    1.10    ins_cost(400);
    1.11 -  format %{ "PREFETCHNTA $mem\t# Prefetch allocation to non-temporal cache for write just sync" %}
    1.12 -  ins_encode %{
    1.13 -     __ sync();
    1.14 -  %}
    1.15 -  ins_pipe(pipe_slow);
    1.16 +  format %{ "PREFETCHNTA $mem\t# Prefetch allocation to non-temporal cache for write (empty)" %}
    1.17 +  ins_encode %{
    1.18 +    // __ sync();
    1.19 +  %}
    1.20 +  ins_pipe(empty);
    1.21  %}
    1.22  
    1.23  // Store Integer Immediate

mercurial