summaryrefslogtreecommitdiff
path: root/libavutil/x86_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/x86_cpu.h')
-rw-r--r--libavutil/x86_cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h
index 08d31461fb..b1b7d8b978 100644
--- a/libavutil/x86_cpu.h
+++ b/libavutil/x86_cpu.h
@@ -25,6 +25,7 @@
#include "config.h"
#if ARCH_X86_64
+# define OPSIZE "q"
# define REG_a "rax"
# define REG_b "rbx"
# define REG_c "rcx"
@@ -45,6 +46,7 @@ typedef int64_t x86_reg;
#elif ARCH_X86_32
+# define OPSIZE "l"
# define REG_a "eax"
# define REG_b "ebx"
# define REG_c "ecx"