@@ -98,27 +98,7 @@ void opal_atomic_isync(void)
98
98
ISYNC ();
99
99
}
100
100
101
- #elif OPAL_XLC_INLINE_ASSEMBLY /* end OPAL_GCC_INLINE_ASSEMBLY */
102
-
103
- /* Yeah, I don't know who thought this was a reasonable syntax for
104
- * inline assembly. Do these because they are used so often and they
105
- * are fairly simple (aka: there is a tech pub on IBM's web site
106
- * containing the right hex for the instructions).
107
- */
108
-
109
- #undef OPAL_HAVE_INLINE_ATOMIC_MEM_BARRIER
110
- #define OPAL_HAVE_INLINE_ATOMIC_MEM_BARRIER 0
111
-
112
- #pragma mc_func opal_atomic_mb { "7c0004ac" } /* sync */
113
- #pragma reg_killed_by opal_atomic_mb /* none */
114
-
115
- #pragma mc_func opal_atomic_rmb { "7c2004ac" } /* lwsync */
116
- #pragma reg_killed_by opal_atomic_rmb /* none */
117
-
118
- #pragma mc_func opal_atomic_wmb { "7c2004ac" } /* lwsync */
119
- #pragma reg_killed_by opal_atomic_wmb /* none */
120
-
121
- #endif
101
+ #endif /* end OPAL_GCC_INLINE_ASSEMBLY */
122
102
123
103
/**********************************************************************
124
104
*
@@ -296,7 +276,7 @@ static inline bool opal_atomic_compare_exchange_strong_64 (opal_atomic_int64_t *
296
276
#define opal_atomic_sc_64 (addr , value , ret ) \
297
277
do { \
298
278
opal_atomic_int64_t *_addr = (addr); \
299
- int64_t _foo, _newval = (int64_t) value; \
279
+ int64_t _newval = (int64_t) value; \
300
280
int32_t _ret; \
301
281
\
302
282
__asm__ __volatile__ (" stdcx. %2, 0, %1 \n\t" \
0 commit comments