summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorİsmail Dönmez <ismail@namtrac.org>2010-10-04 13:08:13 +0000
committerMartin Storsjö <martin@martin.st>2010-10-04 13:08:13 +0000
commit9276bdddca3dba697ffead22ce591657b7b33e24 (patch)
tree65c86ec569465135c18ad97b42bab23aba577479 /libavutil
parent92c5052db971a2a3dfb7c3fc4317b55f401d7811 (diff)
snowdsp: Explicitly state the operand sizes
Fixes compilation with clang's builtin assembler Patch by İsmail Dönmez, ismail at namtrac dot org Originally committed as revision 25331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-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"