Commit 4f4cfcd8 authored by David Schleef's avatar David Schleef
Browse files

removal of nasm dependency

Original commit message from CVS:
removal of nasm dependency
parent 63e9f360
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
......
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment