summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/cputest.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/i386/cputest.c b/libavcodec/i386/cputest.c
index 57b85ff9ce..92e3d64f18 100644
--- a/libavcodec/i386/cputest.c
+++ b/libavcodec/i386/cputest.c
@@ -22,17 +22,10 @@
#include <stdlib.h>
#include "dsputil.h"
+#include "x86_cpu.h"
#undef printf
-#ifdef ARCH_X86_64
-# define REG_b "rbx"
-# define REG_S "rsi"
-#else
-# define REG_b "ebx"
-# define REG_S "esi"
-#endif
-
/* ebx saving is necessary for PIC. gcc seems unable to see it alone */
#define cpuid(index,eax,ebx,ecx,edx)\
asm volatile\