< prev index next >

src/hotspot/share/c1/c1_Compiler.cpp

Print this page


   1 /*
   2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.

   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 198   case vmIntrinsics::_putBooleanVolatile:
 199   case vmIntrinsics::_putByteVolatile:
 200   case vmIntrinsics::_putShortVolatile:
 201   case vmIntrinsics::_putCharVolatile:
 202   case vmIntrinsics::_putIntVolatile:
 203   case vmIntrinsics::_putLongVolatile:
 204   case vmIntrinsics::_putFloatVolatile:
 205   case vmIntrinsics::_putDoubleVolatile:
 206   case vmIntrinsics::_getShortUnaligned:
 207   case vmIntrinsics::_getCharUnaligned:
 208   case vmIntrinsics::_getIntUnaligned:
 209   case vmIntrinsics::_getLongUnaligned:
 210   case vmIntrinsics::_putShortUnaligned:
 211   case vmIntrinsics::_putCharUnaligned:
 212   case vmIntrinsics::_putIntUnaligned:
 213   case vmIntrinsics::_putLongUnaligned:
 214   case vmIntrinsics::_checkIndex:
 215   case vmIntrinsics::_updateCRC32:
 216   case vmIntrinsics::_updateBytesCRC32:
 217   case vmIntrinsics::_updateByteBufferCRC32:
 218 #if defined(SPARC) || defined(S390) || defined(PPC64) || defined(AARCH64)
 219   case vmIntrinsics::_updateBytesCRC32C:
 220   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 221 #endif









 222   case vmIntrinsics::_vectorizedMismatch:
 223   case vmIntrinsics::_compareAndSetInt:
 224   case vmIntrinsics::_compareAndSetObject:
 225   case vmIntrinsics::_getCharStringU:
 226   case vmIntrinsics::_putCharStringU:
 227 #ifdef JFR_HAVE_INTRINSICS
 228   case vmIntrinsics::_counterTime:
 229   case vmIntrinsics::_getEventWriter:
 230 #if defined(_LP64) || !defined(TRACE_ID_SHIFT)
 231   case vmIntrinsics::_getClassId:
 232 #endif
 233 #endif
 234     break;
 235   default:
 236     return false; // Intrinsics not on the previous list are not available.
 237   }
 238 
 239   return true;
 240 }
 241 
   1 /*
   2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * Copyright (c) 2015-2018, Azul Systems, Inc. All rights reserved.
   4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5  *
   6  * This code is free software; you can redistribute it and/or modify it
   7  * under the terms of the GNU General Public License version 2 only, as
   8  * published by the Free Software Foundation.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *


 199   case vmIntrinsics::_putBooleanVolatile:
 200   case vmIntrinsics::_putByteVolatile:
 201   case vmIntrinsics::_putShortVolatile:
 202   case vmIntrinsics::_putCharVolatile:
 203   case vmIntrinsics::_putIntVolatile:
 204   case vmIntrinsics::_putLongVolatile:
 205   case vmIntrinsics::_putFloatVolatile:
 206   case vmIntrinsics::_putDoubleVolatile:
 207   case vmIntrinsics::_getShortUnaligned:
 208   case vmIntrinsics::_getCharUnaligned:
 209   case vmIntrinsics::_getIntUnaligned:
 210   case vmIntrinsics::_getLongUnaligned:
 211   case vmIntrinsics::_putShortUnaligned:
 212   case vmIntrinsics::_putCharUnaligned:
 213   case vmIntrinsics::_putIntUnaligned:
 214   case vmIntrinsics::_putLongUnaligned:
 215   case vmIntrinsics::_checkIndex:
 216   case vmIntrinsics::_updateCRC32:
 217   case vmIntrinsics::_updateBytesCRC32:
 218   case vmIntrinsics::_updateByteBufferCRC32:
 219 #if defined(SPARC) || defined(S390) || defined(PPC64) || defined(AARCH64) || defined(AARCH32)
 220   case vmIntrinsics::_updateBytesCRC32C:
 221   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 222 #endif
 223 #ifdef AARCH32
 224   case vmIntrinsics::_aescrypt_encryptBlock:
 225   case vmIntrinsics::_aescrypt_decryptBlock:
 226   case vmIntrinsics::_sha_implCompress:
 227   case vmIntrinsics::_sha2_implCompress:
 228   case vmIntrinsics::_sha5_implCompress:
 229   case vmIntrinsics::_montgomeryMultiply:
 230   case vmIntrinsics::_montgomerySquare:
 231 #endif
 232   case vmIntrinsics::_vectorizedMismatch:
 233   case vmIntrinsics::_compareAndSetInt:
 234   case vmIntrinsics::_compareAndSetObject:
 235   case vmIntrinsics::_getCharStringU:
 236   case vmIntrinsics::_putCharStringU:
 237 #ifdef JFR_HAVE_INTRINSICS
 238   case vmIntrinsics::_counterTime:
 239   case vmIntrinsics::_getEventWriter:
 240 #if defined(_LP64) || !defined(TRACE_ID_SHIFT)
 241   case vmIntrinsics::_getClassId:
 242 #endif
 243 #endif
 244     break;
 245   default:
 246     return false; // Intrinsics not on the previous list are not available.
 247   }
 248 
 249   return true;
 250 }
 251 
< prev index next >