mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
fixing assembly bug. By Thierry Vignaud <tvignaud@mandrakesoft.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4406 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
752f3e8a3d
commit
a9be09b587
@ -30,9 +30,9 @@ static inline int VERR(const void *p)
|
||||
"xorl %0, %0\n\t"
|
||||
"verr %1\n\t"
|
||||
"setnz %b0"
|
||||
:"=r"(retval)
|
||||
:"=q"(retval)
|
||||
:"m"(*(unsigned char *)p)
|
||||
:"memory");
|
||||
:"memory","cc");
|
||||
return retval;
|
||||
}
|
||||
|
||||
@ -44,9 +44,9 @@ static inline int VERW(const void *p)
|
||||
"xorl %0, %0\n\t"
|
||||
"verw %1\n\t"
|
||||
"setnz %b0"
|
||||
:"=r"(retval)
|
||||
:"=q"(retval)
|
||||
:"m"(*(unsigned char *)p)
|
||||
:"memory");
|
||||
:"memory","cc");
|
||||
return retval;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user