File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dnl Copyright (c) 2004-2005 The Regents of the University of California.
12
12
dnl All rights reserved.
13
13
dnl Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
14
14
dnl Copyright (c) 2014 Intel, Inc. All rights reserved
15
- dnl Copyright (c) 2017 IBM Corporation. All rights reserved.
15
+ dnl Copyright (c) 2017-2021 IBM Corporation. All rights reserved.
16
16
dnl $COPYRIGHT $
17
17
dnl
18
18
dnl Additional copyrights may follow
@@ -123,7 +123,7 @@ AC_DEFUN([_OPAL_CHECK_COMPILER_VENDOR], [
123
123
124
124
# IBM XL C/C++
125
125
AS_IF([test " $opal_check_compiler_vendor_result " = " unknown" ],
126
- [OPAL_IF_IFELSE([defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__)],
126
+ [OPAL_IF_IFELSE([defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__ibmxl__) ],
127
127
[opal_check_compiler_vendor_result= " ibm"
128
128
xlc_major_version= ` $CC -qversion 2>&1 | tail -n 1 | cut -d ' ' -f 2 | cut -d ' .' -f 1`
129
129
xlc_minor_version= ` $CC -qversion 2>&1 | tail -n 1 | cut -d ' ' -f 2 | cut -d ' .' -f 2`
Original file line number Diff line number Diff line change 171
171
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
172
172
# endif
173
173
174
- #elif defined(__xlC__ )
174
+ #elif defined(__xlC__ ) || defined( __ibmxl__ ) || defined( __IBMC__ ) || defined( __IBMCPP__ )
175
175
# define PLATFORM_COMPILER_XLC 1
176
176
# define PLATFORM_COMPILER_FAMILYNAME XLC
177
177
# define PLATFORM_COMPILER_FAMILYID 5
Original file line number Diff line number Diff line change 10
10
* University of Stuttgart. All rights reserved.
11
11
* Copyright (c) 2004-2005 The Regents of the University of California.
12
12
* All rights reserved.
13
- * Copyright (c) 2010-2017 IBM Corporation. All rights reserved.
13
+ * Copyright (c) 2010-2021 IBM Corporation. All rights reserved.
14
14
* Copyright (c) 2015-2018 Los Alamos National Security, LLC. All rights
15
15
* reserved.
16
16
* $COPYRIGHT$
@@ -107,7 +107,7 @@ void opal_atomic_isync(void)
107
107
*********************************************************************/
108
108
#if OPAL_GCC_INLINE_ASSEMBLY
109
109
110
- #ifdef __xlC__
110
+ #if defined( __xlC__ ) || defined( __IBMC__ ) || defined( __IBMCPP__ ) || defined( __ibmxl__ )
111
111
/* work-around bizzare xlc bug in which it sign-extends
112
112
a pointer to a 32-bit signed integer */
113
113
#define OPAL_ASM_ADDR (a ) ((uintptr_t)a)
You can’t perform that action at this time.
0 commit comments