18 * |
18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
|
23 */ |
|
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
23 */ |
29 */ |
24 |
30 |
25 #ifndef SHARE_VM_UTILITIES_MACROS_HPP |
31 #ifndef SHARE_VM_UTILITIES_MACROS_HPP |
26 #define SHARE_VM_UTILITIES_MACROS_HPP |
32 #define SHARE_VM_UTILITIES_MACROS_HPP |
27 |
33 |
354 #else |
360 #else |
355 #define SPARC_ONLY(code) |
361 #define SPARC_ONLY(code) |
356 #define NOT_SPARC(code) code |
362 #define NOT_SPARC(code) code |
357 #endif |
363 #endif |
358 |
364 |
|
365 #ifdef MIPS64 |
|
366 #define MIPS64_ONLY(code) code |
|
367 #define NOT_MIPS64(code) |
|
368 #else |
|
369 #define MIPS64_ONLY(code) |
|
370 #define NOT_MIPS64(code) code |
|
371 #endif |
|
372 |
359 #if defined(PPC32) || defined(PPC64) |
373 #if defined(PPC32) || defined(PPC64) |
360 #ifndef PPC |
374 #ifndef PPC |
361 #define PPC |
375 #define PPC |
362 #endif |
376 #endif |
363 #define PPC_ONLY(code) code |
377 #define PPC_ONLY(code) code |