]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed small errors (size == 0 test) in asm code
authorJaroslav Kysela <perex@perex.cz>
Fri, 28 Feb 2003 20:33:42 +0000 (20:33 +0000)
committerJaroslav Kysela <perex@perex.cz>
Fri, 28 Feb 2003 20:33:42 +0000 (20:33 +0000)
test/code.c

index abaef112bdd974bb43a138ffcbf9530e905ee1f5..1686fa45c1cc6b16b66ab78ce1dad51137d6df57 100644 (file)
@@ -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"