Fix __asm__ clobber list abuses.

This commit is contained in:
obrien 1999-11-15 23:20:56 +00:00
parent 2577cb3191
commit 8f9bd30079

View File

@ -191,9 +191,9 @@ conv(const void *table, void *buff, unsigned int n)
"\tinc %2\n"
"\tdec %1\n"
"\tjnz 1b\n"
:
:"b" (table), "c" (n), "D" (buff), "a" ((char)n)
:"bx","cx","di","ax");
: "=b" (table), "=c" (n), "=D" (buff), "=a" ((char)n) /*all dummies*/
: "0" (table), "1" (n), "2" (buff), "3" ((char)n)
/* clobber list covered by matching out/in registers */ );
}