comparison src/share/vm/c1/c1_GraphBuilder.cpp @ 6143:8b0a4867acf0

7174218: remove AtomicLongCSImpl intrinsics Reviewed-by: kvn, twisti Contributed-by: Krystal Mok <sajia@taobao.com>
author twisti
date Tue, 12 Jun 2012 14:31:44 -0700
parents 8f37087fc13f
children 6d8f36bcef55
comparison
equal deleted inserted replaced
6142:121e5708ae96 6143:8b0a4867acf0
3193 if (!InlineMathNatives) return false; 3193 if (!InlineMathNatives) return false;
3194 cantrap = false; 3194 cantrap = false;
3195 preserves_state = true; 3195 preserves_state = true;
3196 break; 3196 break;
3197 3197
3198 // sun/misc/AtomicLong.attemptUpdate
3199 case vmIntrinsics::_attemptUpdate :
3200 if (!VM_Version::supports_cx8()) return false;
3201 if (!InlineAtomicLong) return false;
3202 preserves_state = true;
3203 break;
3204
3205 // Use special nodes for Unsafe instructions so we can more easily 3198 // Use special nodes for Unsafe instructions so we can more easily
3206 // perform an address-mode optimization on the raw variants 3199 // perform an address-mode optimization on the raw variants
3207 case vmIntrinsics::_getObject : return append_unsafe_get_obj(callee, T_OBJECT, false); 3200 case vmIntrinsics::_getObject : return append_unsafe_get_obj(callee, T_OBJECT, false);
3208 case vmIntrinsics::_getBoolean: return append_unsafe_get_obj(callee, T_BOOLEAN, false); 3201 case vmIntrinsics::_getBoolean: return append_unsafe_get_obj(callee, T_BOOLEAN, false);
3209 case vmIntrinsics::_getByte : return append_unsafe_get_obj(callee, T_BYTE, false); 3202 case vmIntrinsics::_getByte : return append_unsafe_get_obj(callee, T_BYTE, false);