Fix __asm__ clobber list abuses.

This commit is contained in:
David E. O'Brien 1999-11-15 23:20:56 +00:00
parent 594017f90d
commit 15cc94620c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53202

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 */ );
}