< prev index next >

src/share/vm/c1/c1_LIRGenerator.cpp

Print this page
rev 12711 : 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Reviewed-by: psandoz, dholmes, thartmann
Contributed-by: ron.pressler@oracle.com, claes.redestad@oracle.com
   1 /*
   2  * Copyright (c) 2005, 2016, 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  *


3195   case vmIntrinsics::_getClass:       do_getClass(x);      break;
3196   case vmIntrinsics::_currentThread:  do_currentThread(x); break;
3197 
3198   case vmIntrinsics::_dlog:           // fall through
3199   case vmIntrinsics::_dlog10:         // fall through
3200   case vmIntrinsics::_dabs:           // fall through
3201   case vmIntrinsics::_dsqrt:          // fall through
3202   case vmIntrinsics::_dtan:           // fall through
3203   case vmIntrinsics::_dsin :          // fall through
3204   case vmIntrinsics::_dcos :          // fall through
3205   case vmIntrinsics::_dexp :          // fall through
3206   case vmIntrinsics::_dpow :          do_MathIntrinsic(x); break;
3207   case vmIntrinsics::_arraycopy:      do_ArrayCopy(x);     break;
3208 
3209   case vmIntrinsics::_fmaD:           do_FmaIntrinsic(x); break;
3210   case vmIntrinsics::_fmaF:           do_FmaIntrinsic(x); break;
3211 
3212   // java.nio.Buffer.checkIndex
3213   case vmIntrinsics::_checkIndex:     do_NIOCheckIndex(x); break;
3214 
3215   case vmIntrinsics::_compareAndSwapObject:
3216     do_CompareAndSwap(x, objectType);
3217     break;
3218   case vmIntrinsics::_compareAndSwapInt:
3219     do_CompareAndSwap(x, intType);
3220     break;
3221   case vmIntrinsics::_compareAndSwapLong:
3222     do_CompareAndSwap(x, longType);
3223     break;
3224 
3225   case vmIntrinsics::_loadFence :
3226     if (os::is_MP()) __ membar_acquire();
3227     break;
3228   case vmIntrinsics::_storeFence:
3229     if (os::is_MP()) __ membar_release();
3230     break;
3231   case vmIntrinsics::_fullFence :
3232     if (os::is_MP()) __ membar();
3233     break;
3234   case vmIntrinsics::_onSpinWait:
3235     __ on_spin_wait();
3236     break;
3237   case vmIntrinsics::_Reference_get:
3238     do_Reference_get(x);
3239     break;
3240 
3241   case vmIntrinsics::_updateCRC32:


   1 /*
   2  * Copyright (c) 2005, 2017, 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  *


3195   case vmIntrinsics::_getClass:       do_getClass(x);      break;
3196   case vmIntrinsics::_currentThread:  do_currentThread(x); break;
3197 
3198   case vmIntrinsics::_dlog:           // fall through
3199   case vmIntrinsics::_dlog10:         // fall through
3200   case vmIntrinsics::_dabs:           // fall through
3201   case vmIntrinsics::_dsqrt:          // fall through
3202   case vmIntrinsics::_dtan:           // fall through
3203   case vmIntrinsics::_dsin :          // fall through
3204   case vmIntrinsics::_dcos :          // fall through
3205   case vmIntrinsics::_dexp :          // fall through
3206   case vmIntrinsics::_dpow :          do_MathIntrinsic(x); break;
3207   case vmIntrinsics::_arraycopy:      do_ArrayCopy(x);     break;
3208 
3209   case vmIntrinsics::_fmaD:           do_FmaIntrinsic(x); break;
3210   case vmIntrinsics::_fmaF:           do_FmaIntrinsic(x); break;
3211 
3212   // java.nio.Buffer.checkIndex
3213   case vmIntrinsics::_checkIndex:     do_NIOCheckIndex(x); break;
3214 
3215   case vmIntrinsics::_compareAndSetObject:
3216     do_CompareAndSwap(x, objectType);
3217     break;
3218   case vmIntrinsics::_compareAndSetInt:
3219     do_CompareAndSwap(x, intType);
3220     break;
3221   case vmIntrinsics::_compareAndSetLong:
3222     do_CompareAndSwap(x, longType);
3223     break;
3224 
3225   case vmIntrinsics::_loadFence :
3226     if (os::is_MP()) __ membar_acquire();
3227     break;
3228   case vmIntrinsics::_storeFence:
3229     if (os::is_MP()) __ membar_release();
3230     break;
3231   case vmIntrinsics::_fullFence :
3232     if (os::is_MP()) __ membar();
3233     break;
3234   case vmIntrinsics::_onSpinWait:
3235     __ on_spin_wait();
3236     break;
3237   case vmIntrinsics::_Reference_get:
3238     do_Reference_get(x);
3239     break;
3240 
3241   case vmIntrinsics::_updateCRC32:


< prev index next >