removal of nasm dependency

Original commit message from CVS:
removal of nasm dependency
This commit is contained in:
David Schleef 2002-10-25 19:38:15 +00:00
parent 63e9f360e4
commit 4f4cfcd8ea
2 changed files with 3 additions and 8 deletions

View file

@ -1,10 +1,5 @@
if HAVE_NASM
TEST1=test1
else
TEST1=
endif
noinst_PROGRAMS = $(TEST1) test2
noinst_PROGRAMS = test1 test2
test1_SOURCES = test1.c $(top_srcdir)/gst/gstbuffer.c gstmempool.c

View file

@ -123,7 +123,7 @@ gst_mem_pool_alloc (GstMemPool *mem_pool)
g_return_val_if_fail (mem_pool != NULL, NULL);
again:
#ifdef USE_ASM
#if defined(USE_ASM) && defined(HAVE_CPU_I386)
__asm__ __volatile__ (" testl %%eax, %%eax \n\t"
" jz 20f \n"
"10: \t"
@ -178,7 +178,7 @@ gst_mem_pool_free (GstMemPool *mem_pool, gpointer mem)
pool = GST_MEM_POOL_LINK (mem);
#ifdef USE_ASM
#if defined(USE_ASM) && defined(HAVE_CPU_I386)
__asm__ __volatile__ ( "1: \t"
" movl %2, (%1) \n"
POOL_LOCK "cmpxchg %1, %0 \n\t"