From: Jaroslav Kysela Date: Fri, 28 Feb 2003 20:33:42 +0000 (+0000) Subject: Fixed small errors (size == 0 test) in asm code X-Git-Tag: v1.0.3~236 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=743f9a952db9f975f81d36ab0cd58e4cf321f9f3;p=alsa-lib.git Fixed small errors (size == 0 test) in asm code --- diff --git a/test/code.c b/test/code.c index abaef112..1686fa45 100644 --- a/test/code.c +++ b/test/code.c @@ -161,7 +161,7 @@ void mix_areas1(unsigned int size, /* * while (size-- > 0) { */ - "\tcmp $0, %%edx\n" + "\tcmp $0, %0\n" "jz 6f\n" "\t.p2align 4,,15\n" @@ -282,7 +282,7 @@ void mix_areas1_mmx(unsigned int size, /* * while (size-- > 0) { */ - "\tcmp $0, %%edx\n" + "\tcmp $0, %0\n" "\tjz 6f\n" "\t.p2align 4,,15\n"