projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avutil/x86/cpu: fix cpuid sub-leaf selection
[ffmpeg.git]
/
libavutil
/
x86
/
cpu.c
diff --git
a/libavutil/x86/cpu.c
b/libavutil/x86/cpu.c
index
8ad4784
..
2b62e92
100644
(file)
--- a/
libavutil/x86/cpu.c
+++ b/
libavutil/x86/cpu.c
@@
-45,7
+45,7
@@
"cpuid \n\t" \
"xchg %%"REG_b", %%"REG_S \
: "=a" (eax), "=S" (ebx), "=c" (ecx), "=d" (edx) \
- : "0" (index))
+ : "0" (index)
, "2"(0)
)
#define xgetbv(index, eax, edx) \
__asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index))