< prev index next >

src/hotspot/share/utilities/macros.hpp

Print this page

        

@@ -539,14 +539,15 @@
 #else
 #define E500V2_ONLY(code)
 #define NOT_E500V2(code) code
 #endif
 
-// Note: There are three ARM ports. They set the following in the makefiles:
+// Note: There are four ARM ports. They set the following in the makefiles:
 // 1. Closed 32-bit port:   -DARM -DARM32           -DTARGET_ARCH_arm
 // 2. Closed 64-bit port:   -DARM -DAARCH64 -D_LP64 -DTARGET_ARCH_arm
 // 3. Open   64-bit port:         -DAARCH64 -D_LP64 -DTARGET_ARCH_aaarch64
+// 4. Open   32-bit port:         -DAARCH32         -DTARGET_ARCH_aarch32
 #ifdef ARM
 #define ARM_ONLY(code) code
 #define NOT_ARM(code)
 #else
 #define ARM_ONLY(code)

@@ -575,10 +576,18 @@
 #else
 #define LITTLE_ENDIAN_ONLY(code)
 #define BIG_ENDIAN_ONLY(code) code
 #endif
 
+#ifdef AARCH32
+#define AARCH32_ONLY(code) code
+#define NOT_AARCH32(code)
+#else
+#define AARCH32_ONLY(code)
+#define NOT_AARCH32(code) code
+#endif
+
 #define define_pd_global(type, name, value) const type pd_##name = value;
 
 // Helper macros for constructing file names for includes.
 #define CPU_HEADER_STEM(basename) PASTE_TOKENS(basename, INCLUDE_SUFFIX_CPU)
 #define OS_HEADER_STEM(basename) PASTE_TOKENS(basename, INCLUDE_SUFFIX_OS)
< prev index next >