From 743f9a952db9f975f81d36ab0cd58e4cf321f9f3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 28 Feb 2003 20:33:42 +0000 Subject: [PATCH] Fixed small errors (size == 0 test) in asm code --- test/code.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.47.1