Mercurial > hg > truffle
comparison src/share/vm/opto/matcher.cpp @ 3854:1af104d6cf99
7079329: Adjust allocation prefetching for T4
Summary: on T4 2 BIS instructions should be issued to prefetch 64 bytes
Reviewed-by: iveresov, phh, twisti
author | kvn |
---|---|
date | Tue, 16 Aug 2011 16:59:46 -0700 |
parents | f1c12354c3f7 |
children | c26de9aef2ed |
comparison
equal
deleted
inserted
replaced
3853:11211f7cb5a0 | 3854:1af104d6cf99 |
---|---|
824 // %%% Kludgery. Instead, fix ideal adr_type methods for all these cases: | 824 // %%% Kludgery. Instead, fix ideal adr_type methods for all these cases: |
825 if (nidx == Compile::AliasIdxTop && midx == Compile::AliasIdxRaw) { | 825 if (nidx == Compile::AliasIdxTop && midx == Compile::AliasIdxRaw) { |
826 switch (n->Opcode()) { | 826 switch (n->Opcode()) { |
827 case Op_PrefetchRead: | 827 case Op_PrefetchRead: |
828 case Op_PrefetchWrite: | 828 case Op_PrefetchWrite: |
829 case Op_PrefetchAllocation: | |
829 nidx = Compile::AliasIdxRaw; | 830 nidx = Compile::AliasIdxRaw; |
830 nat = TypeRawPtr::BOTTOM; | 831 nat = TypeRawPtr::BOTTOM; |
831 break; | 832 break; |
832 } | 833 } |
833 } | 834 } |