mirror of https://github.com/mpv-player/mpv
add missing registers in clobber list, fixes bug #169
Patch by basic basic (at) mozdev [dot] org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14213 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0857e03187
commit
54d4ed8611
|
@ -118,6 +118,7 @@ void Setup_FS_Segment(void)
|
||||||
|
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
"movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc)
|
"movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc)
|
||||||
|
:"eax"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,6 +118,7 @@ static void c_longcount_tsc(long long* z)
|
||||||
"movl %%edx, 4(%%ebx)\n\t"
|
"movl %%edx, 4(%%ebx)\n\t"
|
||||||
"popl %%ebx\n\t"
|
"popl %%ebx\n\t"
|
||||||
::"a"(z)
|
::"a"(z)
|
||||||
|
:"edx"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
static unsigned int c_localcount_notsc()
|
static unsigned int c_localcount_notsc()
|
||||||
|
|
Loading…
Reference in New Issue