Mercurial > hg > graal-jvmci-8
diff src/share/vm/adlc/formssel.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 | 11211f7cb5a0 |
children | ae839d1e7d4c |
line wrap: on
line diff
--- a/src/share/vm/adlc/formssel.cpp Tue Aug 16 11:53:57 2011 -0700 +++ b/src/share/vm/adlc/formssel.cpp Tue Aug 16 16:59:46 2011 -0700 @@ -3390,7 +3390,9 @@ "ClearArray" }; int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*); - if( strcmp(_opType,"PrefetchRead")==0 || strcmp(_opType,"PrefetchWrite")==0 ) + if( strcmp(_opType,"PrefetchRead")==0 || + strcmp(_opType,"PrefetchWrite")==0 || + strcmp(_opType,"PrefetchAllocation")==0 ) return 1; if( _lChild ) { const char *opType = _lChild->_opType;