mirror of
https://github.com/mpv-player/mpv
synced 2024-12-20 13:52:10 +00:00
13 lines
319 B
C
13 lines
319 B
C
|
int main(void) {
|
||
|
int x;
|
||
|
__asm__ volatile(
|
||
|
"xor %0, %0"
|
||
|
:"=b"(x)
|
||
|
// just adding ebx to clobber list seems unreliable with some
|
||
|
// compilers, e.g. Haiku's gcc 2.95
|
||
|
);
|
||
|
// and the above check does not work for OSX 64 bit...
|
||
|
__asm__ volatile("":::"%ebx");
|
||
|
return 0;
|
||
|
}
|