mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-13 03:38:55 +00:00
videomixer: use 'q' constraint instead of 'r'
This avoids the "bad register name `%dil'" compilation errors on 32bit where because of 'r' gcc puts the value in a general purpose register and then tries to access the lower part as %dil/%sil which is not existing on 32bit. 'q' requests a-d registers
This commit is contained in:
parent
7e3783cbac
commit
404e673ac0
1 changed files with 2 additions and 2 deletions
|
@ -233,8 +233,8 @@ _memset_u8_mmx (guint8 * dest, guint val, guint count)
|
|||
"jne 4b \n\t"
|
||||
"5: \n\t"
|
||||
"emms \n\t"
|
||||
: "=r" (count), "=r" (dest)
|
||||
: "0" (count), "1" (dest), "r" (val8), "m" (val64)
|
||||
: "=r" (count), "=q" (dest)
|
||||
: "0" (count), "1" (dest), "q" (val8), "m" (val64)
|
||||
: "memory"
|
||||
#ifdef __MMX__
|
||||
, "mm0"
|
||||
|
|
Loading…
Reference in a new issue