3388 "CompareAndSwapI", "CompareAndSwapL", "CompareAndSwapP", "CompareAndSwapN", |
3388 "CompareAndSwapI", "CompareAndSwapL", "CompareAndSwapP", "CompareAndSwapN", |
3389 "StoreCM", |
3389 "StoreCM", |
3390 "ClearArray" |
3390 "ClearArray" |
3391 }; |
3391 }; |
3392 int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*); |
3392 int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*); |
3393 if( strcmp(_opType,"PrefetchRead")==0 || strcmp(_opType,"PrefetchWrite")==0 ) |
3393 if( strcmp(_opType,"PrefetchRead")==0 || |
|
3394 strcmp(_opType,"PrefetchWrite")==0 || |
|
3395 strcmp(_opType,"PrefetchAllocation")==0 ) |
3394 return 1; |
3396 return 1; |
3395 if( _lChild ) { |
3397 if( _lChild ) { |
3396 const char *opType = _lChild->_opType; |
3398 const char *opType = _lChild->_opType; |
3397 for( int i=0; i<cnt; i++ ) |
3399 for( int i=0; i<cnt; i++ ) |
3398 if( strcmp(opType,needs_ideal_memory_list[i]) == 0 ) |
3400 if( strcmp(opType,needs_ideal_memory_list[i]) == 0 ) |