src/hotspot/share/adlc/formssel.cpp
changeset 58516 d376d86b0a01
parent 58421 6fc57e391539
child 58679 9c3209ff7550
equal deleted inserted replaced
58515:8f849d3ec1e5 58516:d376d86b0a01
   771        !strcmp(_matrule->_rChild->_opType,"LoadNKlass")   ||
   771        !strcmp(_matrule->_rChild->_opType,"LoadNKlass")   ||
   772        !strcmp(_matrule->_rChild->_opType,"CreateEx")     ||  // type of exception
   772        !strcmp(_matrule->_rChild->_opType,"CreateEx")     ||  // type of exception
   773        !strcmp(_matrule->_rChild->_opType,"CheckCastPP")  ||
   773        !strcmp(_matrule->_rChild->_opType,"CheckCastPP")  ||
   774        !strcmp(_matrule->_rChild->_opType,"GetAndSetP")   ||
   774        !strcmp(_matrule->_rChild->_opType,"GetAndSetP")   ||
   775        !strcmp(_matrule->_rChild->_opType,"GetAndSetN")   ||
   775        !strcmp(_matrule->_rChild->_opType,"GetAndSetN")   ||
   776 #if INCLUDE_ZGC
       
   777        !strcmp(_matrule->_rChild->_opType,"ZGetAndSetP") ||
       
   778        !strcmp(_matrule->_rChild->_opType,"ZCompareAndExchangeP") ||
       
   779        !strcmp(_matrule->_rChild->_opType,"LoadBarrierSlowReg") ||
       
   780 #endif
       
   781 #if INCLUDE_SHENANDOAHGC
   776 #if INCLUDE_SHENANDOAHGC
   782        !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeP") ||
   777        !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeP") ||
   783        !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeN") ||
   778        !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeN") ||
   784 #endif
   779 #endif
   785        !strcmp(_matrule->_rChild->_opType,"CompareAndExchangeP") ||
   780        !strcmp(_matrule->_rChild->_opType,"CompareAndExchangeP") ||
  3508     "ShenandoahCompareAndSwapN", "ShenandoahCompareAndSwapP", "ShenandoahWeakCompareAndSwapP", "ShenandoahWeakCompareAndSwapN", "ShenandoahCompareAndExchangeP", "ShenandoahCompareAndExchangeN",
  3503     "ShenandoahCompareAndSwapN", "ShenandoahCompareAndSwapP", "ShenandoahWeakCompareAndSwapP", "ShenandoahWeakCompareAndSwapN", "ShenandoahCompareAndExchangeP", "ShenandoahCompareAndExchangeN",
  3509 #endif
  3504 #endif
  3510     "StoreCM",
  3505     "StoreCM",
  3511     "GetAndSetB", "GetAndSetS", "GetAndAddI", "GetAndSetI", "GetAndSetP",
  3506     "GetAndSetB", "GetAndSetS", "GetAndAddI", "GetAndSetI", "GetAndSetP",
  3512     "GetAndAddB", "GetAndAddS", "GetAndAddL", "GetAndSetL", "GetAndSetN",
  3507     "GetAndAddB", "GetAndAddS", "GetAndAddL", "GetAndSetL", "GetAndSetN",
  3513 #if INCLUDE_ZGC
       
  3514     "ZGetAndSetP", "ZCompareAndSwapP", "ZCompareAndExchangeP", "ZWeakCompareAndSwapP",
       
  3515 #endif
       
  3516     "ClearArray"
  3508     "ClearArray"
  3517   };
  3509   };
  3518   int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*);
  3510   int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*);
  3519   if( strcmp(_opType,"PrefetchAllocation")==0 )
  3511   if( strcmp(_opType,"PrefetchAllocation")==0 )
  3520     return 1;
  3512     return 1;