Fix __asm__ clobber list abuses.
This commit is contained in:
parent
594017f90d
commit
15cc94620c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53202
@ -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 */ );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user