André Hentschel : libport: Remove Alpha support.

Alexandre Julliard julliard at winehq.org
Wed Apr 20 11:05:17 CDT 2011


Module: wine
Branch: master
Commit: ff2b5c453585c3553955ba5dc72dd12fddec0436
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ff2b5c453585c3553955ba5dc72dd12fddec0436

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Apr 19 19:24:48 2011 +0200

libport: Remove Alpha support.

---

 libs/port/interlocked.c |   57 -----------------------------------------------
 1 files changed, 0 insertions(+), 57 deletions(-)

diff --git a/libs/port/interlocked.c b/libs/port/interlocked.c
index 8fb9972..eb14daa 100644
--- a/libs/port/interlocked.c
+++ b/libs/port/interlocked.c
@@ -268,63 +268,6 @@ void* interlocked_xchg_ptr( void** dest, void* val )
     return ret;
 }
 
-#elif defined(__ALPHA__) && defined(__GNUC__)
-
-__ASM_GLOBAL_FUNC(interlocked_cmpxchg,
-                  "L0cmpxchg:\n\t"
-                  "ldl_l $0,0($16)\n\t"
-                  "cmpeq $0,$18,$1\n\t"
-                  "beq   $1,L1cmpxchg\n\t"
-                  "mov   $17,$0\n\t"
-                  "stl_c $0,0($16)\n\t"
-                  "beq   $0,L0cmpxchg\n\t"
-                  "mov   $18,$0\n"
-                  "L1cmpxchg:\n\t"
-                  "mb")
-
-__ASM_GLOBAL_FUNC(interlocked_cmpxchg_ptr,
-                  "L0cmpxchg_ptr:\n\t"
-                  "ldq_l $0,0($16)\n\t"
-                  "cmpeq $0,$18,$1\n\t"
-                  "beq   $1,L1cmpxchg_ptr\n\t"
-                  "mov   $17,$0\n\t"
-                  "stq_c $0,0($16)\n\t"
-                  "beq   $0,L0cmpxchg_ptr\n\t"
-                  "mov   $18,$0\n"
-                  "L1cmpxchg_ptr:\n\t"
-                  "mb")
-
-__int64 interlocked_cmpxchg64(__int64 *dest, __int64 xchg, __int64 compare)
-{
-    /* FIXME: add code */
-    assert(0);
-}
-
-__ASM_GLOBAL_FUNC(interlocked_xchg,
-                  "L0xchg:\n\t"
-                  "ldl_l $0,0($16)\n\t"
-                  "mov   $17,$1\n\t"
-                  "stl_c $1,0($16)\n\t"
-                  "beq   $1,L0xchg\n\t"
-                  "mb")
-
-__ASM_GLOBAL_FUNC(interlocked_xchg_ptr,
-                  "L0xchg_ptr:\n\t"
-                  "ldq_l $0,0($16)\n\t"
-                  "mov   $17,$1\n\t"
-                  "stq_c $1,0($16)\n\t"
-                  "beq   $1,L0xchg_ptr\n\t"
-                  "mb")
-
-__ASM_GLOBAL_FUNC(interlocked_xchg_add,
-                  "L0xchg_add:\n\t"
-                  "ldl_l $0,0($16)\n\t"
-                  "addl  $0,$17,$1\n\t"
-                  "stl_c $1,0($16)\n\t"
-                  "beq   $1,L0xchg_add\n\t"
-                  "mb")
-
-
 #else
 
 #include <pthread.h>




More information about the wine-cvs mailing list