213 #elif _MSC_VER == 1700
214 #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
215 #elif _MSC_VER == 1800
216 #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
217 #elif _MSC_VER == 1900
218 #define HOTSPOT_BUILD_COMPILER "MS VC++ 14.0 (VS2015)"
219 #elif _MSC_VER == 1911
220 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.3 (VS2017)"
221 #elif _MSC_VER == 1912
222 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.5 (VS2017)"
223 #elif _MSC_VER == 1913
224 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.6 (VS2017)"
225 #elif _MSC_VER == 1914
226 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.7 (VS2017)"
227 #elif _MSC_VER == 1915
228 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.8 (VS2017)"
229 #else
230 #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
231 #endif
232 #elif defined(__SUNPRO_CC)
233 #if __SUNPRO_CC == 0x420
234 #define HOTSPOT_BUILD_COMPILER "Workshop 4.2"
235 #elif __SUNPRO_CC == 0x500
236 #define HOTSPOT_BUILD_COMPILER "Workshop 5.0 compat=" XSTR(__SUNPRO_CC_COMPAT)
237 #elif __SUNPRO_CC == 0x520
238 #define HOTSPOT_BUILD_COMPILER "Workshop 5.2 compat=" XSTR(__SUNPRO_CC_COMPAT)
239 #elif __SUNPRO_CC == 0x580
240 #define HOTSPOT_BUILD_COMPILER "Workshop 5.8"
241 #elif __SUNPRO_CC == 0x590
242 #define HOTSPOT_BUILD_COMPILER "Workshop 5.9"
243 #elif __SUNPRO_CC == 0x5100
244 #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u1"
245 #elif __SUNPRO_CC == 0x5120
246 #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u3"
247 #elif __SUNPRO_CC == 0x5130
248 #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u4"
249 #else
250 #define HOTSPOT_BUILD_COMPILER "unknown Workshop:" XSTR(__SUNPRO_CC)
251 #endif
252 #elif defined(__GNUC__)
253 #define HOTSPOT_BUILD_COMPILER "gcc " __VERSION__
254 #elif defined(__IBMCPP__)
255 #define HOTSPOT_BUILD_COMPILER "xlC " XSTR(__IBMCPP__)
256
257 #else
258 #define HOTSPOT_BUILD_COMPILER "unknown compiler"
259 #endif
260 #endif
261
262 #ifndef FLOAT_ARCH
263 #if defined(__SOFTFP__)
264 #define FLOAT_ARCH_STR "-sflt"
265 #else
266 #define FLOAT_ARCH_STR ""
267 #endif
268 #else
269 #define FLOAT_ARCH_STR XSTR(FLOAT_ARCH)
270 #endif
271
|
213 #elif _MSC_VER == 1700
214 #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
215 #elif _MSC_VER == 1800
216 #define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
217 #elif _MSC_VER == 1900
218 #define HOTSPOT_BUILD_COMPILER "MS VC++ 14.0 (VS2015)"
219 #elif _MSC_VER == 1911
220 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.3 (VS2017)"
221 #elif _MSC_VER == 1912
222 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.5 (VS2017)"
223 #elif _MSC_VER == 1913
224 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.6 (VS2017)"
225 #elif _MSC_VER == 1914
226 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.7 (VS2017)"
227 #elif _MSC_VER == 1915
228 #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.8 (VS2017)"
229 #else
230 #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
231 #endif
232 #elif defined(__SUNPRO_CC)
233 #if __SUNPRO_CC == 0x580
234 #define HOTSPOT_BUILD_COMPILER "Workshop 5.8"
235 #elif __SUNPRO_CC == 0x590
236 #define HOTSPOT_BUILD_COMPILER "Workshop 5.9"
237 #elif __SUNPRO_CC == 0x5100
238 #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u1"
239 #elif __SUNPRO_CC == 0x5120
240 #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u3"
241 #elif __SUNPRO_CC == 0x5130
242 #define HOTSPOT_BUILD_COMPILER "Sun Studio 12u4"
243 #else
244 #define HOTSPOT_BUILD_COMPILER "unknown Workshop:" XSTR(__SUNPRO_CC)
245 #endif
246 #elif defined(__clang_version__)
247 #define HOTSPOT_BUILD_COMPILER "clang " __VERSION__
248 #elif defined(__GNUC__)
249 #define HOTSPOT_BUILD_COMPILER "gcc " __VERSION__
250 #elif defined(__IBMCPP__)
251 #define HOTSPOT_BUILD_COMPILER "xlC " XSTR(__IBMCPP__)
252
253 #else
254 #define HOTSPOT_BUILD_COMPILER "unknown compiler"
255 #endif
256 #endif
257
258 #ifndef FLOAT_ARCH
259 #if defined(__SOFTFP__)
260 #define FLOAT_ARCH_STR "-sflt"
261 #else
262 #define FLOAT_ARCH_STR ""
263 #endif
264 #else
265 #define FLOAT_ARCH_STR XSTR(FLOAT_ARCH)
266 #endif
267
|