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 *
194 case vmIntrinsics::_putBooleanVolatile:
195 case vmIntrinsics::_putByteVolatile:
196 case vmIntrinsics::_putShortVolatile:
197 case vmIntrinsics::_putCharVolatile:
198 case vmIntrinsics::_putIntVolatile:
199 case vmIntrinsics::_putLongVolatile:
200 case vmIntrinsics::_putFloatVolatile:
201 case vmIntrinsics::_putDoubleVolatile:
202 case vmIntrinsics::_getShortUnaligned:
203 case vmIntrinsics::_getCharUnaligned:
204 case vmIntrinsics::_getIntUnaligned:
205 case vmIntrinsics::_getLongUnaligned:
206 case vmIntrinsics::_putShortUnaligned:
207 case vmIntrinsics::_putCharUnaligned:
208 case vmIntrinsics::_putIntUnaligned:
209 case vmIntrinsics::_putLongUnaligned:
210 case vmIntrinsics::_checkIndex:
211 case vmIntrinsics::_updateCRC32:
212 case vmIntrinsics::_updateBytesCRC32:
213 case vmIntrinsics::_updateByteBufferCRC32:
214 #if defined(SPARC) || defined(S390) || defined(PPC64) || defined(AARCH64)
215 case vmIntrinsics::_updateBytesCRC32C:
216 case vmIntrinsics::_updateDirectByteBufferCRC32C:
217 #endif
218 case vmIntrinsics::_vectorizedMismatch:
219 case vmIntrinsics::_compareAndSetInt:
220 case vmIntrinsics::_compareAndSetReference:
221 case vmIntrinsics::_getCharStringU:
222 case vmIntrinsics::_putCharStringU:
223 #ifdef JFR_HAVE_INTRINSICS
224 case vmIntrinsics::_counterTime:
225 case vmIntrinsics::_getEventWriter:
226 #if defined(_LP64) || !defined(TRACE_ID_SHIFT)
227 case vmIntrinsics::_getClassId:
228 #endif
229 #endif
230 break;
231 default:
232 return false; // Intrinsics not on the previous list are not available.
233 }
234
|
1 /*
2 * Copyright (c) 1999, 2020, 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 *
194 case vmIntrinsics::_putBooleanVolatile:
195 case vmIntrinsics::_putByteVolatile:
196 case vmIntrinsics::_putShortVolatile:
197 case vmIntrinsics::_putCharVolatile:
198 case vmIntrinsics::_putIntVolatile:
199 case vmIntrinsics::_putLongVolatile:
200 case vmIntrinsics::_putFloatVolatile:
201 case vmIntrinsics::_putDoubleVolatile:
202 case vmIntrinsics::_getShortUnaligned:
203 case vmIntrinsics::_getCharUnaligned:
204 case vmIntrinsics::_getIntUnaligned:
205 case vmIntrinsics::_getLongUnaligned:
206 case vmIntrinsics::_putShortUnaligned:
207 case vmIntrinsics::_putCharUnaligned:
208 case vmIntrinsics::_putIntUnaligned:
209 case vmIntrinsics::_putLongUnaligned:
210 case vmIntrinsics::_checkIndex:
211 case vmIntrinsics::_updateCRC32:
212 case vmIntrinsics::_updateBytesCRC32:
213 case vmIntrinsics::_updateByteBufferCRC32:
214 #if defined(S390) || defined(PPC64) || defined(AARCH64)
215 case vmIntrinsics::_updateBytesCRC32C:
216 case vmIntrinsics::_updateDirectByteBufferCRC32C:
217 #endif
218 case vmIntrinsics::_vectorizedMismatch:
219 case vmIntrinsics::_compareAndSetInt:
220 case vmIntrinsics::_compareAndSetReference:
221 case vmIntrinsics::_getCharStringU:
222 case vmIntrinsics::_putCharStringU:
223 #ifdef JFR_HAVE_INTRINSICS
224 case vmIntrinsics::_counterTime:
225 case vmIntrinsics::_getEventWriter:
226 #if defined(_LP64) || !defined(TRACE_ID_SHIFT)
227 case vmIntrinsics::_getClassId:
228 #endif
229 #endif
230 break;
231 default:
232 return false; // Intrinsics not on the previous list are not available.
233 }
234
|