hotspot/src/share/vm/c1/c1_Compiler.cpp
changeset 45514 0fc9cc73ce45
parent 42040 70ec5a09a0d5
child 46458 3c12af929e7d
equal deleted inserted replaced
45513:5431282d8ce1 45514:0fc9cc73ce45
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   106     // C1 does not support intrinsification of synchronized methods.
   106     // C1 does not support intrinsification of synchronized methods.
   107     return false;
   107     return false;
   108   }
   108   }
   109 
   109 
   110   switch (id) {
   110   switch (id) {
   111   case vmIntrinsics::_compareAndSwapLong:
   111   case vmIntrinsics::_compareAndSetLong:
   112     if (!VM_Version::supports_cx8()) return false;
   112     if (!VM_Version::supports_cx8()) return false;
   113     break;
   113     break;
   114   case vmIntrinsics::_getAndAddInt:
   114   case vmIntrinsics::_getAndAddInt:
   115     if (!VM_Version::supports_atomic_getadd4()) return false;
   115     if (!VM_Version::supports_atomic_getadd4()) return false;
   116     break;
   116     break;
   215 #ifdef SPARC
   215 #ifdef SPARC
   216   case vmIntrinsics::_updateBytesCRC32C:
   216   case vmIntrinsics::_updateBytesCRC32C:
   217   case vmIntrinsics::_updateDirectByteBufferCRC32C:
   217   case vmIntrinsics::_updateDirectByteBufferCRC32C:
   218 #endif
   218 #endif
   219   case vmIntrinsics::_vectorizedMismatch:
   219   case vmIntrinsics::_vectorizedMismatch:
   220   case vmIntrinsics::_compareAndSwapInt:
   220   case vmIntrinsics::_compareAndSetInt:
   221   case vmIntrinsics::_compareAndSwapObject:
   221   case vmIntrinsics::_compareAndSetObject:
   222   case vmIntrinsics::_getCharStringU:
   222   case vmIntrinsics::_getCharStringU:
   223   case vmIntrinsics::_putCharStringU:
   223   case vmIntrinsics::_putCharStringU:
   224 #ifdef TRACE_HAVE_INTRINSICS
   224 #ifdef TRACE_HAVE_INTRINSICS
   225   case vmIntrinsics::_counterTime:
   225   case vmIntrinsics::_counterTime:
   226   case vmIntrinsics::_getBufferWriter:
   226   case vmIntrinsics::_getBufferWriter: