From 6dfd05af1d754f8f509779c81a754883eb509367 Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Wed, 18 Jan 2017 15:27:28 -0600 Subject: [PATCH] Delete archaic Itanium assembly atomic op definitions Change-Id: Ic30b344cd03aba31f5ea70db711aff4b0fd64168 --- src/conv-core/converse.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/conv-core/converse.h b/src/conv-core/converse.h index bea619efe6..151d0e8b20 100644 --- a/src/conv-core/converse.h +++ b/src/conv-core/converse.h @@ -1924,12 +1924,6 @@ extern int _immRunning; "movl $1, %1\n\t" \ "lock xaddl %1, %0" \ : "=m"(input), "=r"(output) : "m"(input) : "memory") -#elif CMK_GCC_IA64_ASM /*SYNC_PRIM*/ -#define CmiMemoryAtomicIncrement(someInt) { int someInt_private; \ - __asm__ __volatile__("fetchadd4.rel %0=[%1],1": "=r" (someInt_private): "r"(&someInt) :"memory"); } -#define CmiMemoryAtomicDecrement(someInt) { uint64_t someInt_private; \ - __asm__ __volatile__("fetchadd4.rel %0=[%1],-1": "=r" (someInt_private): "r"(&someInt) :"memory"); } -#define CmiMemoryAtomicFetchAndInc(input,output) __asm__ __volatile__("fetchadd4.rel %0=[%1],1": "=r" (output): "r"(&input) :"memory") #elif CMK_PPC_ASM /*SYNC_PRIM*/ #define CmiMemoryAtomicIncrement(someInt) { int someInt_private; \ __asm__ __volatile__ ( \ -- 2.11.4.GIT